1.Take input for boarding place,arriving place and date.
2.Date validation for 120 days(if date is more than 120 days you are not able to book the ticket).if days are less than 120 days
then ask for the count of passengers.
3.Take passengers age and gender.
4.If age is less than 13 you have to pay half of the price of the ticket.And if the age is greater than 59 you have to pay 60% of the ticket price.
5. Than display final amount of the ticket,date,passengers(male,female and child count with age),ticket booking confirmation message.