Loading

Exercise Number: 1

Question:

Write a Java program that takes an integer variable age and prints the movie ticket price based on the following rules:

  • Under 12 years: ₹100
  • 12 to 60 years (inclusive): ₹200
  • Above 60 years: ₹150