subject

Create a bash shell script for a number guessing game. here are the requirements: a. your program generates a random number between 0 and 128 and keeps asking the user to guess the number until the user guesses it correctly. b. if the user guesses a number that is lower or higher than the number to be guessed then indicate that information to the user as a ‘low guess’ or a ‘high guess’ so that the user can get to the correct guess quicker. c. the program keeps track on number of guesses taken by the user to get to the correct guess. this is user’s score. d. your program asks user for the name and adds user’s name and the score in a file that keeps track of the scores by various users. e. at the end of the game, the program displays the top 3 scores (lowest 3 scores) along with the name of the users to conclude the game. john 4 sam 7 tony 10

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:30
Kto rozmawia z clamentain przez krótkofalówke w the walking dead która śledzi lee w 4 epizodzie
Answers: 1
question
Computers and Technology, 22.06.2019 22:20
Avariable of the data type arrays is storing 10 quantities. what is true about these quantities? a. the quantities all have different characteristics. b. the quantities all have the same characteristics. c. five quantities have the same and five have different characteristics. d. it is necessary for all quantities to be integers. e. it is necessary for all quantities to be characters.
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 04:30
Fall protection, confined space entry procedures, controlled noise levels, and protection from chemical hazards are some of the things that contribute to a safe and
Answers: 1
You know the right answer?
Create a bash shell script for a number guessing game. here are the requirements: a. your program g...
Questions
question
English, 15.09.2020 22:01
question
English, 15.09.2020 22:01
question
Mathematics, 15.09.2020 22:01
question
Mathematics, 15.09.2020 22:01
question
Mathematics, 15.09.2020 22:01
question
Mathematics, 15.09.2020 22:01
question
Mathematics, 15.09.2020 22:01
question
Mathematics, 15.09.2020 22:01
question
Mathematics, 15.09.2020 22:01
question
Mathematics, 15.09.2020 22:01
question
Mathematics, 15.09.2020 22:01
question
Mathematics, 15.09.2020 22:01
question
Mathematics, 15.09.2020 22:01
question
Mathematics, 15.09.2020 23:01
question
Mathematics, 15.09.2020 23:01
question
English, 15.09.2020 23:01
question
Mathematics, 15.09.2020 23:01
question
Mathematics, 15.09.2020 23:01
question
Mathematics, 15.09.2020 23:01
question
Mathematics, 15.09.2020 23:01
Questions on the website: 13722361