You are required to model a vehicle parking lot system.

You are required to model a vehicle parking lot system. The parking lot has a facility to park cars and scooters. The parking lot contains four parking lanes-two for cars and two for scooters.

Each lane can hold ten vehicles. There is an operator with a console at the East end of the parking lot. The system should be able to handle the following scenarios.

The arrival of a vehicle:

1.         Type of vehicle (car or scooter) and Registration No. of vehicle should be entered

2.         Program should display suitable parking slot

3.         Vehicles arrive at East end, leave from West end

The departure of Car:

1.         If not westernmost, all cars should be moved to the west

2.         When the car is driven out, the rest of the cars should be moved to the left

3.         Vehicle data should be updated

The departure of Scooter:

1.         Scooters should be able to drive out at random

2.         Vehicle data should be updated

Note that when desired the operator must be able to obtain information like the number of vehicles, number of scooters or number of cars currently parked in the parking lot. Also, the system should be able to display all the parking lots (currently occupied) if desired.

 

Leave a Comment

Your email address will not be published. Required fields are marked *

GradeEssays.com
We are GradeEssays.com, the best college essay writing service. We offer educational and research assistance to assist our customers in managing their academic work. At GradeEssays.com, we promise quality and 100% original essays written from scratch.
Contact Us

Enjoy 24/7 customer support for any queries or concerns you have.

Phone: +1 213 3772458

Email: support@gradeessays.com

© 2024 - GradeEssays.com. All rights reserved.

WE HAVE A GIFT FOR YOU!

15% OFF 🎁

Get 15% OFF on your order with us

Scroll to Top