2)#include#include #includeusing namespace std;int main(){int c=0, b;do{
b = pow( c, 2); c++; cout << b << " ";} while(c<51); system("pause");<br>}
1)#include#include #includeusing namespace std;int main(){int c=0, b;
while(c<51){<br>
b = pow( c, 2); c++; cout << b << " ";} system("pause");<br>}
3)#include#include #includeusing namespace std;int main(){int c=0, b;
for(c; c<51; c++){<br>
b = pow( c, 2); cout << b << " ";} system("pause");<br>}