#include<stdio.h>标签:%-,九九乘法,return,int,2d,printf From: https://blog.51cto.com/u_13606048/6088555
int main() {
for (int i = 1; i <=9; i++) {
for (int j = 1; j <=i; j++) {
printf("%d*%d=%-2d ", i, j, i * j);
}
printf("\n");
}
return 0;
}
#include<stdio.h>标签:%-,九九乘法,return,int,2d,printf From: https://blog.51cto.com/u_13606048/6088555
int main() {
for (int i = 1; i <=9; i++) {
for (int j = 1; j <=i; j++) {
printf("%d*%d=%-2d ", i, j, i * j);
}
printf("\n");
}
return 0;
}