下面的句子能不能不按空格依次出来第2345个what number do you want?
#include <stdio.h>int main (void)
{
int i, j, count;
for (count = 1; count <= 5; count++)
{ printf ("what number do you want?\n");
scanf ("%i%i", &i, &j);
if (i < j)
printf ("The number is flold\n");
else
printf("The x is %i\n", i + j - i % j);
getch();
}
return 0;
}
问题是:第一个"what number do you want?"自动就出来了 后面的还要按enter 能不能不按enter就直接出来啊?