diff --git a/src/main/c/Quiz/Quiz_2.c b/src/main/c/Quiz/Quiz_2.c index 471aa57..f78b26e 100644 --- a/src/main/c/Quiz/Quiz_2.c +++ b/src/main/c/Quiz/Quiz_2.c @@ -8,4 +8,14 @@ int quiz_2() int guessLimit = 3; int outOfGuesses =0; + while (guess != secretNumber && outOfGuesses == 0) + { + } + if (outOfGuesses == 1) + { + printf("Out of guesses"); + }else { + printf("You Win!"); + } + return 0; } \ No newline at end of file