Ticket price

A cinema sells tickets by age. Read an age and print the ticket type:

  • child for ages up to 12
  • senior for ages 65 and older
  • student for ages 18 to 25
  • adult for everyone else

Then, on a second line, print discount for a child, senior or student, and full price for an adult. For the input 20:

student
discount

You can decide the second line with one condition that uses ||.

Tests
Results will be shown here
C++
Console
Press Run to start your program.