生成一段C语言乘法口诀表代码
时间: 2023-06-03 07:04:27 浏览: 93
C语言实现的乘法口诀表
Sure, here is the code for a C language multiplication table:
#include <stdio.h>
int main() {
int i, j;
printf("Multiplication Table\n");
for(i = 1; i <= 9; i++) {
for(j = 1; j <= i; j++) {
printf("%d * %d = %d\t", j, i, i * j);
}
printf("\n");
}
return 0;
}
阅读全文