Computer Science, asked by hussienahmadyy, 2 months ago

Write C++ to represent the following series: 1,2,4,8,16,32,64
by using do –while.

Answers

Answered by sweetberry22
0

Explanation:

include<iostream>

#include<conio.h>

using namespace std;

int main()

{

int i;

for(i=1;i<=128;i*=2)

cout<<i<<" ";

return 0;

}

Similar questions