题解 | #乘法表#
乘法表
https://www.nowcoder.com/practice/ff797e49df674c049021e8be2ab026e6
#include <stdio.h> int main() { int x = 1; int y = 1; for(x=1; x<10; x++)//左操作数 { for(y=1; y<=x; y++) { printf("%d*%d=%2d ", y, x, x*y); } printf("\n"); } return 0; }