Question: 4) - Write a program that asks a user how many children and adult tickets they want for a movie. Adult tickets are $10 and
4) - Write a program that asks a user how many children and adult tickets they want for a movie. Adult tickets are $10 and children $5. Pass the total price to a function that calculates a twenty percent fee and returns it to the main program. Add that fee to the total and output the total including fee. Name the program Tickets. 4) - Write a program that asks a user how many children and adult tickets they want for a movie. Adult tickets are $10 and children $5. Pass the total price to a function that calculates a twenty percent fee and returns it to the main program. Add that fee to the total and output the total including fee. Name the program Tickets
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
