Question: 5. Write a program which asks the user to input a number X. Then allow the user to input an unlimited number of guesses, until

5. Write a program which asks the user to input a number X. Then allow the user to input an unlimited number of guesses, until the guess equals the number X. For each guess, tell the user the following: Is the guess greater than or less than X? Is the guess even or odd
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
