#include<stdio.h>
#include<math.h>
int main()
{
int a,b,c;
for(a=1;a<10;a++)
{
for(b=1;b<a+1;b++)
{
c=b*a;
printf("%d*%d=%2d ",b,a,c);
}
printf("\n");
}
}
转载于:https://blog.51cto.com/green906/1696311