Part of the new system design is a software program that will allow users to work out the cost of...

profilejasnfa

Part of the new system design is a software program that will allow users to work out the cost of the Explorer Pass. Write an algorithm in pseudocode for a Calculate Charge module that will: • allow the user to enter the number of family, adult and child passes required • allow the user to enter the number of tours the pass will be valid for • display the cost of each type of pass, the total cost and the amount of GST included (to calculate the amount of GST included, you will need to divide the Total Cost by 11 e.g. if total cost is $169.00, GST included = 169/11 = 15.36). • include error checking to ensure that a valid number of tours are entered and that a valid pass type is selected. Explorer Pass Adult Child Family 1 tour $ 46.00 $23.00 $115.00 2 tours $ 85.00 $42.00 $210.00 3 tours $120.00 $60.00 $320.00 4 tours $150.00 $80.00 $400.00 5 tours $175.00 $95.00 $480.00 Child = 4 to 13 years Family Pass = 2 adults and 2 children A family with 3 children would need to purchase 1 Family Pass and 1 Child Pass

    • 12 years ago
    • 2
    Answer(0)
    Bids(0)