Question:
Developing the Logic for a Program
Scenario/Summary
Develop the logic for a program that gives you the following menu options:
(1) Child Movie Ticket 3.00
(2) Twilight Movie Ticket 4.00
(3) Adult Movie Ticket 6.25
(4) Senior Movie Ticket 4.00
(5) End order
You should be allowed to keep ordering from the menu until you press 5 for End order, at which point you should see a total amount due for your entire order.
a. Draw the hierarchy chart.
b. Write the pseudocode.
Deliverables
pseudocode;
hierarchy chart;
L A B S T E P S
STEP 1: Hierarchy Chart.
Draw the hierarchy chart for the program.
STEP 2: Pseudocode
Write the pseudocode for the program. Your logic should include the following five modules:
Mainline()
MainLoop()
FinishUP()
Menu()
Housekeeping().