#include <iostream>
#include <cmath>
using namespace std;
int main()
{
for (int i = 1;i<=10;i++)
cout << pow(2,i) << " ";
return 0;
}
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
for (int i = 1;i<=10;i++)
cout << pow(2,i) << " ";
return 0;
}