#include <stdio.h>
main()
{ int i;
int a[10]={0};
printf("input ten number:");
for(i=0;i<10;i++)
scanf("%d",&a[i]);
for(i=0;i<10;i++)
printf("%d,",a[i]);
getch();
}
只不过我想她是说,♂每输入一个数是不用回车,到最后要输出最后的数时也时不用回车就可以直接触发输出的,我时这么理解的,但是也不知道怎么做。
main()
{ int i;
int a[10]={0};
printf("input ten number:");
for(i=0;i<10;i++)
scanf("%d",&a[i]);
for(i=0;i<10;i++)
printf("%d,",a[i]);
getch();
}
只不过我想她是说,♂每输入一个数是不用回车,到最后要输出最后的数时也时不用回车就可以直接触发输出的,我时这么理解的,但是也不知道怎么做。

Get in first, and then word your ways out ! BY KIKI