Hi
I need to design a Java program which records and displays the timetable of trains between station 'A' and station 'B'. The program should allow the user to:
1. Add details of a new Train to the timetable.
2. Delete a Train from the timetable by given the departure time from 'A' and the arrival time at 'B'.
3. Find the fastest Train from 'A' to 'B'.
4. Display the train timetable with the departure and arrival times and in departure time order.
At the moment I've got very little idea how to go about this, or the best way to approach it. Any help would be greatl appreciated.
Thanks
G
I need to design a Java program which records and displays the timetable of trains between station 'A' and station 'B'. The program should allow the user to:
1. Add details of a new Train to the timetable.
2. Delete a Train from the timetable by given the departure time from 'A' and the arrival time at 'B'.
3. Find the fastest Train from 'A' to 'B'.
4. Display the train timetable with the departure and arrival times and in departure time order.
At the moment I've got very little idea how to go about this, or the best way to approach it. Any help would be greatl appreciated.
Thanks
G
Comment