subject
Computers and Technology, 17.07.2019 02:10 jeny89

Write a program that generates a random number between 5 and 15 and asks the user to guess what the number is. if the user’s guess is higher than the random number, the program should display too high. try again. if the user’s guess is lower than the random number, the program should display too low, try again. the program should use a loop that repeats while keeping a count of the number of guesses the user makes until the user correctly guesses the random number. then the program should display the number of guesses along with the following message congratulations. you figured out my number. suggest that you also give the user the opportunity to play the game again or quit.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:30
Which of the following methods could be considered a “best practice” in terms of informing respondents how their answers to an on-line survey about personal information will be protected? respondents are informed that investigators will try to keep their participation confidential; however, confidentiality cannot be assured. respondents are informed that a research assistant will transfer all the research data to a password-protected computer that is not connected to the internet, via a usb flashdrive. the computer is located in a research team member’s office. the investigator uses the informed consent process to explain her institution’s method for guaranteeing absolute confidentiality of research data. the investigator uses the informed consent process to explain how respondent data will be transmitted from the website to his encrypted database without ever recording respondents’ ip addresses, but explains that on the internet confidentiality cannot be absolutely guaranteed.
Answers: 1
question
Computers and Technology, 23.06.2019 11:20
Http is the protocol that governs communications between web servers and web clients (i.e. browsers). part of the protocol includes a status code returned by the server to tell the browser the status of its most recent page request. some of the codes and their meanings are listed below: 200, ok (fulfilled)403, forbidden404, not found500, server errorgiven an int variable status, write a switch statement that prints out the appropriate label from the above list based on status.
Answers: 2
question
Computers and Technology, 23.06.2019 20:40
Instruction active describing list features which statements accurately describe the features of word that are used to create lists? check all that apply. the tab key can be used to create a sublist. the enter key can be used to add an item to a list. the numbering feature allows for the use of letters in a list. the numbering feature can change the numbers to bullets in a list. the multilevel list feature provides options for different levels in a list.
Answers: 2
question
Computers and Technology, 24.06.2019 10:30
Which of the following types of software is most applicable to the promotion of new products through advertising? a.databases b. spreadsheets c. web design programs d. word processing tools
Answers: 2
You know the right answer?
Write a program that generates a random number between 5 and 15 and asks the user to guess what the...
Questions
question
Mathematics, 13.03.2021 01:00
question
English, 13.03.2021 01:00
question
Mathematics, 13.03.2021 01:00
question
English, 13.03.2021 01:00
question
Mathematics, 13.03.2021 01:00
Questions on the website: 13722363