Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started