Reference no: EM132368907
Question
Admission to an aquarium is $14 per person. There is also an IMAX theatre in the building, which charges $8 per ticket for a 3D shark show.
Customers have three choices: admission to the aquarium only without watching 3D show, watch 3D show only with no admission to the aquarium, or do both with a 25% discount.
Design a program for group orders.
Ask the group to enter number of people who want admission only but no 3D show, number of people who want 3D show only but no admission to the aquarium, and number of people who want both.
Calculate and display the total amount due from the group. Submit the algorithm for credit.
Step 1: Input total people aquarium only
Step 2: input total people IMAX theater only
Step 3: Input people who want to do both
Step 4:
Calculate total amount = Aquarium#(14) + IMAX#(8) + Both#*((14+8)*.75)
Step 5: Display amount