#9601: 為什麼這樣子會錯啊?


jeremy03 (asteroid)


#include<stdio.h>
int main()
{
    int i,j;
    while(1)
    {
       scanf("%d %d",&i,&j);
       printf("%d\n",i+j);
     }
     return 0;
}
#9618: Re:為什麼這樣子會錯啊?


tim406she1016 (RatiSmiDB)


#include
int main()
{
    int i,j;
    while(1)
    {
       scanf("%d %d",&i,&j);
       printf("%d\n",i+j);
     }
     return 0;
}
 while(1) 無窮迴圈