Westonci.ca is the premier destination for reliable answers to your questions, provided by a community of experts. Join our Q&A platform and get accurate answers to all your questions from professionals across multiple disciplines. Get immediate and reliable solutions to your questions from a community of experienced professionals on our platform.

Write a program to calculate ticket prices based on age and movie time of (M)atinee or (E)vening.

Matinee $12, Evening $16; anyone 18 or under and anyone 65 or older gets a $4 discount.

Calculate and print the ticket price, discount amount (if applicable), and adjusted ticket price.

Example Run:
Ticket Price Calculator

Age: 17

Movie Time (M/E): M

Ticket Price: $12

Discount: $4

Adjusted Price: $8

Enjoy your movie!

Another Example:
Ticket Price Calculator

Age: 35

Movie Time (M/E): E

Ticket Price: $16

Enjoy your movie!


Sagot :

Your visit means a lot to us. Don't hesitate to return for more reliable answers to any questions you may have. We appreciate your visit. Our platform is always here to offer accurate and reliable answers. Return anytime. Westonci.ca is committed to providing accurate answers. Come back soon for more trustworthy information.