Question: Write a program to help a ticket agent calculate the total cost of a family's ticket purchase. Your program will input the number of adult
Write a program to help a ticket agent calculate the total cost of a family's ticket purchase.
Your program will input the number of adult tickets and children's tickets and a discount rate. Adult tickets cost $10 and children's tickets are $5. Tax is 7%. the program will print out the total before discount, the amount of discount, the total after the discount, the tax, and the total cost. (The discount is applied before the tax.)
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
