Question: Suppose the Bangladesh Bridge Authority has proposed to setup Padma Bridge toll-box at the end of Dhaka-Mawa highway. To store and manage daily tolls

Suppose the Bangladesh Bridge Authority has proposed to setup Padma Bridge toll-box

Suppose the Bangladesh Bridge Authority has proposed to setup Padma Bridge toll-box at the end of Dhaka-Mawa highway. To store and manage daily tolls and transactions they want to install a software system. A part of that software will be implemented by you. The partial requirement is kind of following. The toll-box will have 3 counters for 3 different types of vehicles (Heavy-duty, Medium-duty, Light- duty). Each counter will serve the vehicle based on first come first serve. The vehicles will maintain a line before each counter. When a vehicle appears in a specific counter, the person sitting in the counter will give the ticket to the driver and take the toll from the driver. The person will store the information (date, car number, ticket number) of toll in the system. There is a feature in the system which will take the car number and give the information of the date and ticket number. There is also a feature in the system to calculate total earning of the day of individual counters and total earnings of all counters. Suppose the toll rates for different vehicle types are given below. Vehicle Type Heavy-duty Medium-duty Toll Rate 700 BDT 400 BDT Light-duty 200 BDT [Use proper data structures, functions, object-oriented programming principles to implement and demonstrate the above scenario. You cannot use any standard template library. All the functions of the data structure must be implemented by you.)

Step by Step Solution

3.35 Rating (158 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Code is written below include using namespace std enum VehicleType Lightduty M... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Engineering Questions!