Question: Change the Menu class in Worked Example 3.1 so that the menu options are labeled A, B, C, and so on. Make a string of
Change the Menu class in Worked Example 3.1 so that the menu options are labeled A, B, C, and so on. Make a string of the labels.
Data from worked example 3.1.







WORKED EXAMPLE 3.1 Making a Simple Menu Problem Statement Your task is to design a class Menu. An object of this class can display a menu such as 1) Open new account 2) Log into existing account 3) Help 4) Quit The numbers should be supplied automatically when options are added to the menu. ATV MENTERT Mark Evans/iStockphoto.
Step by Step Solution
3.45 Rating (155 Votes )
There are 3 Steps involved in it
To modify the Menu class to label the menu options with letters such as A B C instead of numbers we ... View full answer
Get step-by-step solutions from verified subject matter experts
