九九乘法表
#include<stdio.h>
int main()
{
int n
= 9;
int i
, j
;
i
= 1;
while (i
<=n
)
{
j
= 1;
while (j
<=i
)
{
printf("%d*%d=%d", j
, i
, i
* j
);
if (i
*j
<10)
{
printf(" ");
}
else
{
printf(" ");
}
j
++;
}
printf("\n");
i
++;
}
return 0;
}
转载请注明原文地址:https://blackberry.8miu.com/read-32531.html