数组中这条语句是什么意思呢?
a=(i+1)*(j+1); #include <stdio.h>int main(void)
{
int a;
for(int i = 0; i < 3; i++)
{
for(int j = 0; j < 3; j++)
{
a = (i + 1) * (j + 1);
}
}
for(int i = 0; i < 3; i++)
{
for(int j = 0; j < 3; j++)
{
printf("%d\n", a);
}
}
return 0;
}
1
2
3
2
4
6
3
6
9
请按任意键继续. . .
没有for循环吗?
页:
[1]