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 07:30
In the film "epic 2015," epic is the name for:
Answers: 3
question
Computers and Technology, 23.06.2019 07:10
If you want to import a picture into a dtp application, what must you do first? draw an image frame. import text. open the folder containing the file. select get image… from the windows menu.
Answers: 2
question
Computers and Technology, 23.06.2019 18:40
Johnson enterprises uses a computer to handle its sales invoices. lately, business has been so good that it takes an extra 3 hours per night, plus every third saturday, to keep up with the volume of sales invoices. management is considering updating its computer with a faster model that would eliminate all of the overtime processing.
Answers: 2
question
Computers and Technology, 24.06.2019 03:30
It is not necessary to develop strategies to separate good information and bad information on the internet. true or false
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
Mathematics, 10.07.2019 18:30
question
Mathematics, 10.07.2019 18:30
question
Mathematics, 10.07.2019 18:30
question
Mathematics, 10.07.2019 18:30
question
Mathematics, 10.07.2019 18:30
Questions on the website: 13722362