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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 02:30, amaliabarrera9
The can be used to paste text in any order
Answers: 1
image
Computers and Technology, 23.06.2019 12:30, umimgoingtofail
What is the difference between the internet and the world wide web?
Answers: 1
image
Computers and Technology, 23.06.2019 16:00, cravens511peeelg
An english teacher would like to divide 8 boys and 10 girls into groups, each with the same combination of boys and girls and nobody left out. what is the greatest number of groups that can be formed?
Answers: 2
image
Computers and Technology, 24.06.2019 01:00, kkruvc
Mastercard managers are motivated to increase (1) the number of individuals who have and use a mastercard credit card, (2) the number of banks and other clents who issue mastercards to customers and/or employees, and (3) the number of locations that accept mastercard payments. discuss how mastercard could use its data warehouse to it expand each of these customer bases.
Answers: 3
You know the right answer?
Create a bash shell script for a number guessing game. here are the requirements: a. your program g...

Questions in other subjects:

Konu
Mathematics, 10.03.2021 17:10
Konu
English, 10.03.2021 17:10
Konu
Mathematics, 10.03.2021 17:10