Guess the number/With feedback: Difference between revisions

without \n the first message is not flushed in the C program
mNo edit summary
(without \n the first message is not flushed in the C program)
Line 812:
 
printf( "Guess the number between %d and %d: ", lower_limit, upper_limit );
fflush(stdout); // Flush the output buffer
 
while( scanf( "%d", &guess ) == 1 ){
6

edits