Menu

[Solved] Exercise 5 Example Shown Page 19 Slides Name Script Loop Verify Works Bin Bash Code Banana Q37264136

language: Unix/Linux
Exercise 5 Do the example as shown in Page 19 of the slides. Name your script while-loop. Verify that it works,!/bin/bash code-banana echo Guess the code! echo -e Enter your guess: Ic read yourguess while I $codeyourguess do echExercise 5 Do the example as shown in Page 19 of the slides. Name your script while-loop. Verify that it works, !/bin/bash code-banana echo “Guess the code!” echo -e “Enter your guess: Ic” read yourguess while I “$code””yourguess” do echo “Incorrect guess. Try again.” echo -e “Enter your guess: Ic” read yourguess done echo “You got it!” exit isantos5@unixlab test]$/while- Loop uess the code! Enter your guess yo Incorrect guess. Try again. Enter your guess: banana You got it! Show transcribed image text Exercise 5 Do the example as shown in Page 19 of the slides. Name your script while-loop. Verify that it works,
!/bin/bash code-banana echo “Guess the code!” echo -e “Enter your guess: Ic” read yourguess while I “$code””yourguess” do echo “Incorrect guess. Try again.” echo -e “Enter your guess: Ic” read yourguess done echo “You got it!” exit isantos5@unixlab test]$/while- Loop uess the code! Enter your guess yo Incorrect guess. Try again. Enter your guess: banana You got it!

Expert Answer


Answer to Exercise 5 Do the example as shown in Page 19 of the slides. Name your script while-loop. Verify that it works, !/bin/ba… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *