subject

Write a "Guess the Number" game program where the computer selects a random number between 1 and 100. The user (e. G. Miha) then has a limited number experiments (say 7) in which he wants to guess the selected number. In each user attempt, the program should display "Your number is too small" if it is the number entered by the user is less than the selected number. Let the program display "Your number is too large" if the number entered by the user is greater than the selected number numbers. If the user guesses the selected number, then the program should display: Great, Miha! To guess my number correctly, you needed 5 experiments.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:30
The following is an excerpt from a slide presentation. today we will inverse operations solving equations using inverse operations solving inequalities using inverse operations from which part of the presentation does the slide most likely come from? a. introduction b. outline c. body d. conclusion
Answers: 1
question
Computers and Technology, 22.06.2019 23:50
List a few alternative options and input and output over the standerd keyboard and monitor. explain their functioning in details.
Answers: 2
question
Computers and Technology, 23.06.2019 09:00
Which best describes the role or restriction enzymes in the analysis of edna a. to break dna into fragments that vary in size so they can be sorted and analyzed b. to amplify small amounts of dna and generate large amounts of dna for analysis c. to purify samples of dna obtained from the environment so they can be analyzed d. to sort different sizes of dna fragments into a banding pattern that can be analyzed
Answers: 1
question
Computers and Technology, 24.06.2019 00:30
Afiling system in which an intermediary source of reference, such as a file card, must be consulted to locate specific files is called a(n) system. a. shelf filing b. direct filing c. indirect filing d. shingling
Answers: 1
You know the right answer?
Write a "Guess the Number" game program where the computer selects a random number between 1 and 100...
Questions
question
Mathematics, 03.08.2019 05:00
Questions on the website: 13722366