C++输出一个九九乘法表
时间: 2023-05-19 08:07:32 浏览: 97
商业编程-源码-九九乘法表自动生成示例源码.zip
Sure, here's the code for printing a 9x9 multiplication table in C:
```
#include <stdio.h>
int main() {
int i, j;
for (i = 1; i <= 9; i++) {
for (j = 1; j <= i; j++) {
printf("%d*%d=%d\t", j, i, i*j);
}
printf("\n");
}
return 0;
}
```
This will output the multiplication table in the console.
阅读全文