Menu

[Solved] Exercise 6 Example Shown Page 21 Slides Name Script Break Loop Verify Works Suggestions Mo Q37264175

language: Unix/Linux
Exercise 6 Do the example as shown in Page 21 of the slides. Name your script break-loop. Verify that it works Suggestions* -bin/bash ode-banana echo Guess the code! echo e Enter your guess: TC read yourguess Guess the code ! Enter your guess: bookExercise 6 Do the example as shown in Page 21 of the slides. Name your script break-loop. Verify that it works Suggestions* -You should modify some of the test conditions, if-then-else statements, et that you actually understand the concepts. bin/bash ode-banana echo “Guess the code! echo e “Enter your guess: TC read yourguess Guess the code ! Enter your guess: book Incorrect guess. Try again End of program hile “$code””syourguess”1 do echo “Incorrect guess. Try again.” break echo -e “Enter your guess: c read yourguess Get out of this loop once it sees a break done echo “End of program” exit 0 Show transcribed image text Exercise 6 Do the example as shown in Page 21 of the slides. Name your script break-loop. Verify that it works Suggestions* -You should modify some of the test conditions, if-then-else statements, et that you actually understand the concepts.
bin/bash ode-banana echo “Guess the code! echo e “Enter your guess: TC read yourguess Guess the code ! Enter your guess: book Incorrect guess. Try again End of program hile “$code””syourguess”1 do echo “Incorrect guess. Try again.” break echo -e “Enter your guess: c read yourguess Get out of this loop once it sees a break done echo “End of program” exit 0

Expert Answer


Answer to Exercise 6 Do the example as shown in Page 21 of the slides. Name your script break-loop. Verify that it works Suggestio… . . .

OR


Leave a Reply

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