Chapter Questions
What is a menu-driven program?
The items displayed in a menu are often preceded by a number, letter, or othercharacter. What is the purpose of this character?
What type of structure do you use in a program to perform the action that theuser has selected from a menu?
Explain why most menu-driven programs use a loop to redisplay the menuafter the user’s selected action has been performed.
If a program uses a loop to display a menu repeatedly, how does the user endthe program?
What is a single-level menu?
What is a multiple-level menu?
When a program has a lot of items for the user to select from, why should youavoid displaying all of the items in one menu?