Explore BrainMass
Share

Explore BrainMass

    Developing the Logic for a Program

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    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().

    © BrainMass Inc. brainmass.com October 9, 2019, 11:23 pm ad1c9bdddf
    https://brainmass.com/computer-science/pseudocode/developing-logic-program-254630

    Solution Summary

    The solution develops the logic for a program.

    $2.19