题解 | #乘法表#
乘法表
http://www.nowcoder.com/practice/ff797e49df674c049021e8be2ab026e6
int main()
{
int he = 0;
for (int a = 1; a < 10; a++)
{
for (int b = 1; b <= a; b++)
{
he = a * b;
printf("%d*%d=%2d ", b, a, he);
}printf("\n");
}
return 0;
}