Welcome to Westonci.ca, the Q&A platform where your questions are met with detailed answers from experienced experts. Discover the answers you need from a community of experts ready to help you with their knowledge and experience in various fields. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.

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!