Answer to Question #38687 in C++ for marvy dale
loop statement in c++ display numbers 1 4 9 16 25 36 49 64 81 100
1
2014-01-27T13:20:15-0500
#include <stdio.h>
int main() {
for ( int i = 1; i <= 10; i++ ) {
printf("%d ", i * i);
}
printf("\n");
return 0;
}
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!
Learn more about our help with Assignments:
C++
Comments
Leave a comment