Solve exercise 8 from section 6.9. Change the "Exit" option to "Quit" so that you can allow the user to enter their menu selection by either the number or the 'important' letter: A, O, N, X, or Q.
(You do not need to do the optional part.)
Use PROCs well to break your program into re-usable parts. (You should understand the value of modularization by this stage in your programming course-work/career, right? It will also serve you well when we learn to make our own 'link libraries'.)
This assignment is Level 3.
Add (Level 2) to add an option for a "Help" submenu (key-letter H). The submenu should look something like:
Explanation of: 1. AND 2. OR 3. NOT 4. XOR 5. Return to Main Menu
Again, they can choose from this submenu by number or letter.
Can you allow both R and M for the last choice? If so, implement it. If not, why not? (Yes, you must explain!)
Make your explanations for the operations readable and useful -- give an example and perhaps a truth table in addition to your English explanation.
Add (Level 2) to design a single menu PROC which can handle the processing of both your main menu and your submenu. You may assume that the last menu option -- whatever it is -- means to end the menu loop. (Hint: This PROC's input should be the address of the case table, the size of a single case table entry, and the number of entries in the case table.)