代码:
#include <iostream>
#include <stdio.h>
int main()
{
for (int i = 1; i <= 9; i++)
{
for (int j = 1; j <= i; j++)
printf("%d×%d=%d\t", j, i, j * i);
printf("\n");
}
return 0;
}
代码:
#include <iostream>
#include <stdio.h>
int main()
{
for (int i = 1; i <= 9; i++)
{
for (int j = 1; j <= i; j++)
printf("%d×%d=%d\t", j, i, j * i);
printf("\n");
}
return 0;
}