Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Ask the user to enter how many tickets he/she wants to buy, and then get age for each ticket. Calculate the total cost of the
Ask the user to enter how many tickets he/she wants to buy, and then get age for each ticket. Calculate the total cost of the tickets using these prices: . If the age is over 18 years old then the ticket costs 200, else less than 18 and above 8years Rs.150. Children younger than 8 years can get a ticket for free. There is a discount scheme announced where one gets a 10% discount on the total cost of tickets when there is a bulk booking of more than 10 tickets, and a discount of 2% on the total cost of tickets if booking made by student (with ID card). Write a C program to print the Movie ticket with movie name, date & Time, number of adults and kids along with total price after considering the discount scheme. Sample Output
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