#include <stdio.h>
main()
{ int i,j,a[10];
/found/
for(i=0,i<10,i++)
/found/
{ a[i] = 2*i+3;
/found/
for(j=0,j<=10,j++)
printf("%d\t",a[j]);
/found/
} system("pause");
}
供参考:
#include <stdio.h>
main()
{
int i,j,a[10];
//found/
for(i=0;i<10;i++)//for(i=0,i<10,i++)
//found/ {
a[i] = 2*i+3;
//found/
for(j=9;j>=0;j--)//for(j=0,j<=10,j++)
printf("%d\t",a[j]);
//found/}
system("pause");
}