Passenger fare is classified according to the type of passenger. Senior Citizen get 20% discount from the regular fare, Students get 10% discount. Regular passengers who do not qualified as neither Senior Citizen nor a Student should pay the regular fare of 100. Display the name and type of passenger, as well as the computed fare.
Aucun commentaire:
Enregistrer un commentaire