Ask Question
26 August, 13:42

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.

+4
Answers (1)
  1. 26 August, 13:56
    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 you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers