Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke, David J. Auer

7th edition

133544621, 133544626, 0-13-354462-1, 978-0133544626

More Books

Students also viewed these Databases questions

Question

What does need to change?

Answered: 1 week ago