diff --git a/Chapter1/Exercise 1-07/eof.c b/Chapter1/Exercise 1-07/eof.c index d1f698e..248a662 100644 --- a/Chapter1/Exercise 1-07/eof.c +++ b/Chapter1/Exercise 1-07/eof.c @@ -5,9 +5,10 @@ */ #include - -int main(void) -{ - printf("The value of EOF is %d.\n", EOF); +#include +int main() +{ int EOF; + scanf( "%d" , &EOF ); + printf("The value of EOF is: %d\n", EOF); return 0; } \ No newline at end of file