dimanche 11 mars 2018

How to write program for following scenario using Design Pattern and What should be used as DAO for list of Train stops?

Develop application for train ticketing system using java where- 1. input will source and destination station from below list. 2. For ticket between any 3 stations will be charged 10 rupees and for every next station 5 rupee extra. 3. The format of the ticket is -

   ---------------------
   Source :
   Destination : 
   Fare :
   ---------------------

4. Station Names-

   ABC1
   ABC2
   XYZ1
   XYZ2
   ABC3
   ABC4

Aucun commentaire:

Enregistrer un commentaire