#include<stdio.h>
int main ()
{
int i,j;
for (i = 1;i<=9;i++)
{
for (j = 1;j<=i;j++)
{
![](https://img-blog.csdn.net/20150411193150403)
int main ()
{
int i,j;
for (i = 1;i<=9;i++)
{
for (j = 1;j<=i;j++)
{
printf("%d*%d=%d ",i,j,i*j);
}
printf("\n");
}
return 0;
}
输出结果: