9、9乘法口决表
#include<stdio.h>int main()
{
int iRow,iColumn;
for(iRow = 1;iRow <= 9,iRow++)
{
for (iColumn=1;iColumn<=iRow;iColumn++)
{
printf("%d*%d=&d",iRow,iColumn,iRow*iColumn);
}
printf("\n");
}
return 0;
}
==============
我的C-F编译器,编译未通过!帮看看哪错了?
======================正确的应该为======================
#include<stdio.h>
int main()
{
int iRow,iColumn;
for(iRow = 1; iRow <= 9; iRow++)
{
for (iColumn=1;iColumn<=iRow;iColumn++)
{
printf("%d*%d=%d ",iRow,iColumn,iRow*iColumn);
}
printf("\n");
}
return 0;
}
[ 本帖最后由 clyde3 于 2012-7-12 14:31 编辑 ]