#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
void chengfa(int a)
{
for (int i = 1; i <= a; i++)
{
for (int j = 1; j <= i; j++)
{
printf("%d*%d=%-6d",j,i,j*i);
}
printf("\n");
}
}
int main()
{
int a = 0;
printf("请输入数:\n");
scanf("%d",&a);
chengfa(a);
return 0;
}
标签:chengfa,CRT,NO,int,void,口诀,个数,include,乘法
From: https://blog.51cto.com/u_16425777/9051042