main() { int a,b,c; c=12; for (a=1;a<=c;a++) { b=a*a; printf ("%d squared is %d\n",a,b); } }