subject

that allows a user to guess a number between 1-10. You should create a menu that will have options (this should be displayed on the screen):Press 1 to play a gamePress 2 to change the max numberPress 3 to quitIf option 1 is selected the program should prompt the user to enter a number. If the user is correct tell them they won then the program should go back to the menu. Otherwise tell them if they were too low or high in there guess and allow them to guess again. This should continue until they win. If they enter q instead of a number when prompted the game should end(NOT the program) and return to the menu. If option 2 is chosen, then tell them the max value they can set the number. Make sure they do not enter a negative number or go above the max value. If option 3 is chosen thank the user for playing and end the game.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:00
What is the name of the option in most presentation applications with which you can modify slide elements? 1. the option enables you to modify a slide element in most presentation applications.
Answers: 3
question
Computers and Technology, 23.06.2019 21:00
Which set of steps will organize the data to only show foods with more than 100 calories and rank their sugar content from greatest to least?
Answers: 1
question
Computers and Technology, 24.06.2019 00:30
The best definition of an idiom is a. a word or phrase that describes a noun b. a word or phrase describing a verb c. a phrase containing figurative language in which the word expresses a different idea from its exact meaning d. a phrase that compares two unlike objects or ideas
Answers: 2
question
Computers and Technology, 25.06.2019 05:00
Brad wants to buy flowers for his friend with 33 dollars.the daisies are 1 dollar each and the roses are 2 dollars each he buy 3 more daisies than roses how much did the roses cost
Answers: 2
You know the right answer?
that allows a user to guess a number between 1-10. You should create a menu that will have options (...
Questions
question
English, 28.01.2020 08:31
question
Physics, 28.01.2020 08:31
question
Mathematics, 28.01.2020 08:31
Questions on the website: 13722367