用do-while和while写乘法口诀表
int i,j; i=1; do { j=1; do { printf("%d*%d=%-3d",i,j,i*j); j++; }while(j<=9); printf("\n"); i++; }while(i<=9);
赞 (0)
int i,j; i=1; do { j=1; do { printf("%d*%d=%-3d",i,j,i*j); j++; }while(j<=9); printf("\n"); i++; }while(i<=9);