(1) int main() { int x,y; x=4; y=10*x+5; printf("x=%d y=%d\n",x,y); x++; y=(10*x+5)/10; printf("x=%d y=%d\n",x,y); x++; y=(10*x+7)%10; printf("x=%d y=%d\n",x,y); } (2) int main() { int x,x2,x3; for (x=0;x<4;x++) { x2=x*x+1; x3=(x2*2+3)%5; printf("%3d %5d %7d\n",x,x2,x3); } printf("%3d\n",x); } (3) int main() { int x,z; z=0; for (x=0;x<6;x++) { for (x=1;x<6;x++) { printf("%3d",z); z=z+1; } printf("\n"); } } (4) int main() { int x,y; y=10; for (x=1; x<3; x++) { y=y+x; } printf("%d %d\n",x,y); while (y<50) { y=y+x; x++; } printf("%d %d\n",x,y); } (5) int main() { int n,i,j; int k1,k2; n=8; for (i=0;i<=n/2+1;i++) { k1=i; k2=n-2*k1+1; for (j=0;j