#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int cfb(int n)
{
int i = 0, j = 0;
for (int i = 1; i <= n; i++)
{
for (int j = 1; j <= i; j++)
{
printf("%d*%d=%2d ", i, j, i * j);
}
printf("\n");
}
return 0;
}
int main()
{
int n = 0;
scanf("%d", &n);
cfb(n);
return 0;
}
C语言十字乘法表
最新推荐文章于 2024-11-07 18:59:45 发布