输出乘法口诀表

#include <stdio.h>
main()

int a,b;
for (a=1;a<=9;a++)

{
for (b=1;b<=a;b++)
{
printf ("%d*%d=%-3d",a,b,a*b);
}
printf("\n");
}      
}

你可能感兴趣的:(乘法口诀)