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.
Click Here

All I see here is your assignment. Please show us what you have done so far, and ask specific questions.

In case you wondered: no, we're not a "homework on command" task-force.

You just copy/pasted your assignment without even a moment taken to explain what help you need. That's highly disrepestectful to the many people who give their time to help others here.

There are lots of people here who will freely give their time to help you become the best Java programmer you can be. There's nobody here who is interested in helping you cheat or doing your homework for you.

DaniWeb Member Rules (which you agreed to when you signed up) include:
"Do provide evidence of having done some work yourself if posting questions from school or work assignments"

Post what you have done so far and someone will help you from there.

ps: your link makes no sense either

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.