i need to write a c++ program that calculates and produces these two columns using the three looping statements: for loop/while loop/do while loop.

NUMBERSSQUARED
12
24
39
416
525

kindly help me please..:'(

Also, 1 squared is 1 ;)

may be you can use the following code

cout<<"number"<<endl;
cout<<endl<<"\t"<<"square";
cout<<1<<endl;
cout<<"\t"<<2;
........
.......
.....

Hi angle28
You did't try anything before posting your problem, you have to work on it after that you free to ask your problem here with your work