题解 | #乘法表#
乘法表
https://www.nowcoder.com/practice/ff797e49df674c049021e8be2ab026e6
#include <stdio.h>
int main() {
int a=1,b;
while (a<=9) {
b=1;
while (b<=a) {
printf("%d*%d=%2d ",b,a,a*b);
b++;
}
printf("\n");
a++;
}
return 0;
}
