Shell Functions  «Prev  Next»

printmenu function - Exercise

Write the printmenu function

Objective: Add functions to the course project script

Exercise scoring

This exercise is graded and worth 8 points.

Download files

You have access to the volleyball script from your shell account.

Instructions

Add a function to the volleyball script to print a menu on the screen. Your function should print out the following information: Volleyball Menu 1. Add a Player 2. Remove a player 3. Create a list of players 4. Search for a player 5. Exit

Submitting your exercise

Type or paste each of your answers into the text box below.
Then click the Submit button your answers to a tutor and view a results page.