Whenever I put in more than one line in the do/while loop, I get this error.
mario.c:9:7: error: expected 'while' in do/while loop
printf("Nope, again please,\n");
^
mario.c:7:5: note: to match this 'do'
do
^
1 error generated.
This is how I wrote the do-while loop.
do
n = GetInt();
printf("Nope, only betwen 0 23 please,\n");
while (n < 0 || n > 23 || n == 0 );