Answer to Question #326804 in UNIX/Linux Programming for KUHAN

Question #326804

Write a Linux shell script that performs the following tasks:

a. Provide a mystery integer between 1 to 10.

b. Using “while” loop, allow the user to guess the random number until the user

got it right.

c. If the user’s entered number is lower or greater than the random number,

notify the user to guess higher or lower respectively.

d. If the user enters any number out of the 1 to 10 range, notify the user to

enter in the correct number range.

e. Display a congratulatory message along with the random number if the user

guessed it correctly.


0
Service report
It's been a while since this question is posted here. Still, the answer hasn't been got. Consider converting this question to a fully qualified assignment, and we will try to assist. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS