#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
void table(int row) {
	for (int i = 1; i <= row; ++i) {
		for (int j = 1; j <= i; ++j) {
			printf("%d*%d=%d\t", j, i, i*j);
		}
		printf("\n");
	}
}
int main() {
	int row;
	printf("输入乘法表的行数\n");
	scanf("%d", &row);
	table(row);

	system("pause");
	return 0;

}

任意行乘法表
任意行乘法表

相关文章:

  • 2021-11-28
  • 2021-08-01
  • 2022-12-23
  • 2021-07-03
  • 2022-12-23
  • 2022-01-08
  • 2022-12-23
猜你喜欢
  • 2021-06-10
  • 2022-12-23
  • 2021-11-19
  • 2021-10-10
  • 2021-08-11
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案