#include "stdio.h" void main() { int x=1,y=1; for(y=1;y<10;y++) { for(x=1;x<=y;x++) { printf("%d*%d=%2d ",x,y,x*y); } printf("\n"); } }
#include < stdio.h > #include < stdlib.h > void main() { int x=1,y=1; for(y=1;y<10;y++) { for(x=1;x<=y;x++) { printf("%d×%d=%2d ",x,y,x*y); } printf("\n"); } system ( "pause" ); }