76 327
Assignments Done
Successfully Done
In May 2019

Answer to Question #15436 in C++ for zyrus

Question #15436
8. Write a C++ program that would generate the output below:
No. Square of a no.
1 1
2 4
3 9
. .
. .
10 100
Expert's answer

void main(){
cout<<"No.& quot;<<"Square of a no."<<"\n";
for (int i=1; i<101; i++)
cout<<i<<"& quot;<<i*i<<"\n";

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions