A new metro system is to be constructed by an independent company somewhere in the UK to link up 10 stations in a line (not a loop). The name of the station s are as follows:-
Ashford - Brentworth - Canonbury Cross - Dowgate - Edbury - Fenchurch Street - Gresham - Hampstead - Islington - Jamaica Road
The distance between each of the stations is fairly equal therefore the ticket cost between each station is £2.00 with an extra 50% added on for a return journey.
Example: A return ticket from brentworth to hampstead will cost £18.00
The company would like a user friendly piece of software to operate their ticket machines. All that is required at this stage is that the software does the following:-
1. The user can select a departure station
2. The user can select an arrival station
3. the user can select either single or return journey.
The program must then display on the screen a suitable summary of the ticket that the user can check prior to accepting and and paying