IDNStudy.com, ang iyong destinasyon para sa malinaw na mga sagot. Sumali sa aming platform ng tanong at sagot upang makakuha ng eksaktong tugon sa lahat ng iyong mahahalagang tanong.

Write a program that asks the user to guess a number between 1-15. The program must indicate if
the user’s guess is higher or lower than the correct answer and have them keep guessing until
they find the correct answer. (For this exercise, set a variable for the correct answer to any
number between 1-15 during the initialization part of your program) The program will stop if:
The user guesses the correct number.
The user inputs a number that is outside the range