22-05-2016, 10:09 AM
Write a menu driven program to implement a parking lot system which
performs the following functions
- Park a vehicle using its registration number. On success, display the parking slot
number allotted to the vehicle.
- Remove a parked vehicle by its registration number. Also, determine the parking
charges to be paid by the vehicle owner. (The parking rate is Rs. 1/- per minute)
- Determine in which parking slot a given vehicle is parked.
- Determine currently available parking slots.
- Note: For simplicity use only the last four digits of the registration number. E.g. For registration number MH 12 AA 1234 consider 1234.