如何用while循环打印99乘法口诀表
大一新生,请简单一点,目前循环结构就学了for,while(T ^ T)
#include <stdio.h>
int main(void)
{
int row = 1;
while (row <= 9)
{
int col = 1;
while (col <= row)
{
printf("%d * %d = %d\t", col, row, col * row);
col += 1;
}
printf("\n");
row += 1;
}
printf("\n");
return 0;