Ask Question
2 May, 13:50

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.

+2
Answers (1)
  1. 2 May, 14:15
    0
    x=14a+8b+16.5c

    Explanation:

    x=total cost

    a=number of people in just aquarium

    b=number of people in just IMAX

    c=number of people in both

    c = (14+8) * 0.75=22*0.75=16.5
Know the Answer?
Not Sure About the Answer?
Find an answer to your 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. ...” in 📗 Engineering if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers