标签:
/*乘法表*/
#define COLMAX 10
#define ROWMAX 12
main()
{
int row,column,y;
row=1;
printf(" MULTIPLICATION TABLE \n");
printf("------------------------------------------------\n");
do
{
column=1;
do
{
y=column*row;
printf("%d",y);
column=column++;
}
while(column<=COLMAX);
printf("\n");
row=row+1;
}
while(row<=ROWMAX);
printf("---------------------------------------------\n");
}
标签:
原文地址:http://www.cnblogs.com/haogong10333/p/4889282.html