![效果图](https://img-blog.csdnimg.cn/2020121516141912.PNG?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzUyMDAxOTY5,size_16,color_FFFFFF,t_70#pic_center)
```c
#include<stdio.h>
int main()
{
for(int i = 1; i <= 9; i++ )//行
{
for(int j = 1; j <= i; j++ )//列
{
printf("%d*%d=%3d ",j, i, i*j);
}
printf("\n");
}
}