Home > Back-end >  On EOF
On EOF

Time:11-17

# include & lt; stdio.h>
Int main ()
{

int a=0;
Int b=0;

While (the scanf (" % d % d ", & amp; A, & amp; B)! EOF)={



Printf (" % d \ n ", a + b);

}



}
How to enter to end the program

CodePudding user response:

Linux is CTRL + D
Windows is CTRL + z

CodePudding user response:

Linux: CTRL + d
Windows: CTRL + z
Try ~

CodePudding user response:

No no, I'm afraid I can't use a VC or end
  • Related