#include <stdio.h>
#include <stdlib.h>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char *argv[]) {
int n,m;
for(n=1;n<=200;++n)
for(m=1;m*m<=n;++m)
if (m*m==n)
printf("%d ",n);
printf("\n");
return 0;
}
#include <stdlib.h>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char *argv[]) {
int n,m;
for(n=1;n<=200;++n)
for(m=1;m*m<=n;++m)
if (m*m==n)
printf("%d ",n);
printf("\n");
return 0;
}