Question: Please write a C# program that where a player will play a guessing game with the range of 1-100. Each time the play guesses a
Please write a C# program that where a player will play a guessing game with the range of 1-100.
Each time the play guesses a number, and it is not correct the program should indicate if the number is more or less than what the player guessed.
If an invalid number is entered, such as: 1.24 (real number), or asd (string). The program should tell user that the number they entered is wrong, and should please try again, until a valid number is entered.
Once the player has guessed the number correctly, the program will ask if they want to play again. If yes, the entire process should redone, if no the program should close.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
