If the time entered is not between 3 and 5 then it will check the age of the customer. If the customer's age is 55 or more or if it is 10 or under than it will print to the console "The price of your ticket is $7.00."