1
1 4
1 4 9
1 4 9 16
1 4 9 16 25
Write a C++ program to generate the above output.
Answers
Answered by
0
Answer:
Step-by-step explanation:
#include<iostream>
using namespace std;
int main()
{
for(int i=1;i<6;i++)
cout<<i*i<<" ";
return 0;
}
Similar questions
Physics,
1 month ago
Hindi,
1 month ago
Computer Science,
2 months ago
Math,
2 months ago
India Languages,
9 months ago
Science,
9 months ago