Please any one has time to tackle this project A taxi company: An Accra-based taxi company has fifteen cars in its fleet, three of which are 7-seater vehicles, and the rest are 5-seater cars. One 7-seater and one 5-seater vehicle has been modified for transporting wheelchairs users. There are three taxi ranks where these vehicles are permitted to wait for passengers: Accra main station; Achimota station; and Lapaz. Clients can telephone the call center to place an immediate order for a taxi (i.e. advance bookings are not permitted). The client specifies the pick-up and drop-off locations. The call center determines which taxis are available and who is nearest to the pick-up location, and calls the driver to provide the details of the fare, including the agreed price. If there are no taxis available, the client is asked to call back. The drivers update the call center when: The driver starts and ends a shift The taxi joins a taxi rank The taxi leaves a rank without a fare The taxi leaves a rank with a fare, giving the destination of the fare and the agreed price The taxi picks up the fare from a phone order The taxi drops the fare, providing the drop-off location (i.e. the intended destination or somewhere else) and the actual price charged At the end of the day, the call center prepares a report with the following details: The money taken by each driver ordered by ascending driver surname The total money taken The list of drivers in descending order of takings The money due to each driver (they get 15% of the money they’ve taken), adding a 10% bonus for the driver with the most takings The money the company keeps
Aucun commentaire:
Enregistrer un commentaire