Computer Science, asked by varshaanand1245, 1 year ago

How to write a program to find the series of 2,4,8,16,

Answers

Answered by sks147
0
#include <iostream>
using namespace std;

int main(){
  for(int i=2; ;i+=2){
    cout << i << "," <<endl;
  }
 
return 0;
}
Similar questions