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 10:30
Dave has to create animations for a game. which tool can dave use?
Answers: 3
question
Computers and Technology, 23.06.2019 18:30
List 3 items that were on kens resume that should have been excluded
Answers: 1
question
Computers and Technology, 24.06.2019 02:00
Write an expression that will cause the following code to print "equal" if the value of sensorreading is "close enough" to targetvalue. otherwise, print "not equal". ex: if targetvalue is 0.3333 and sensorreading is (1.0/3.0), output is:
Answers: 1
question
Computers and Technology, 24.06.2019 17:30
List at least one thing to check for when you're checking the clarity and professionalism of a document.
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, 02.04.2020 20:01
question
Social Studies, 02.04.2020 20:01
question
Mathematics, 02.04.2020 20:01
Questions on the website: 13722363