C语言编写一个乘法口诀表

C语言编写一个乘法口诀表

#include <stdio.h>
void main(){
int i,j;
for(i=1;i<10;i++){
for(j=1;j<=i;j++){
printf("%d*%d=%d\t",i,j,i*j);
}
printf("\n");
}
}

猜你喜欢

转载自blog.csdn.net/weixin_44099012/article/details/90112040