Maplewing

6/18 C: EOF

Jun 17th, 2016
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.13 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3. int main() {
  4.     char s[9999];
  5.     while( scanf("%s",s) != EOF ) {
  6.         printf("hello, %s\n",s);
  7.     }
  8.     return 0;
  9. }
Add Comment
Please, Sign In to add comment