Develop a program to execute a guessing game. The game rules
Need help with this assignment?Get an original answer from a qualified tutor — from $10/page.
Get it written →Develop a program to execute a guessing game. The game rules/steps are as follow:The program will choose a random number between 0 and 100 (visit the random generator guide here)Prompt user to guess the number. Keep track of how many times user has guessed the numberReceive user input and compare it with the guessed number.Provide on of the following messages to user:if their guess is off by 3 from the goal, message TOO HIGH or TOO LOWif their guess is off by less than 3 from the goal, message HIGH or LOWof their guess is correct, then message ‘ You successfully guessed the number after X tries’ (X being the number of guesses.The code from the professor is down in the word doc
Get a plagiarism-free answer to this question
Send us your instructions and we’ll match you with the best writer in your subject.
- 100% human-written, zero AI
- Turnitin report included
- Confidential — we never share your data
- Free revisions & refunds