Computer Science, asked by alina9029, 9 months ago

Matinee movie tickets According to a 24-hour clock, the show timings are 10.15, 13.30, 18.00 and 22.00. The normal price of an adult ticket is $8.00. However, the price of an adult ticket for the matinee show is $5.00. Adults are those over 13 years. The normal price of a child ticket is $4.00. However, the price of a child ticket for the matinee show is $2.00. Write a program that determines the price of a movie ticket. INPUT FORMAT: The first input is an integer which denotes the age. The second input is a floating point number which denotes the show timing. OUTPUT FORMAT: Print the price of a movie ticket. Refer the sample output for formatting. SAMPLE INPUT: 16 10.15 SAMPLE OUTPUT: $8.00

Answers

Answered by catchzaara
1

Answer:

check google

Explanation:

use google pls

Similar questions