diff --git a/code/C/slowprint.c b/code/C/slowprint.c index 33d4f11..9900853 100644 --- a/code/C/slowprint.c +++ b/code/C/slowprint.c @@ -34,8 +34,7 @@ ts.tv_sec = sec; ts.tv_nsec = nano; while ( EOF != (c=getchar()) ) { - putchar(c); - fflush(stdout); + putchar(c), fflush(stdout); nanosleep(&ts, NULL); }