question archive Hi, i would like to know what following should i add to complete: 4 and 5 :  Name the script pickanumber3

Hi, i would like to know what following should i add to complete: 4 and 5 :  Name the script pickanumber3

Subject:Computer SciencePrice:9.82 Bought3

Hi, i would like to know what following should i add to complete: 4 and 5 : 

  1. Name the script pickanumber3.sh.
  2. The script will get a random number 1 - 100.
  3. Ask the user to pick a number.
  4. If the user picked the correct number, tell the user.  If not, tell the user if they were too high or too low and ask the user to try again.
  5. Keep track of how many guesses the user makes and print a message that tells them they lose, what the number was and exit after 5 guesses

Here, what i have done so far. 

Option 1

Low Cost Option
Download this past answer in few clicks

9.82 USD

PURCHASE SOLUTION

Option 2

Custom new solution created by our subject matter experts

GET A QUOTE

rated 5 stars

Purchased 3 times

Completion Status 100%

Related Questions