One private Car Parking service PS offers
service for cars to be parked in their area for
soede duration
Os don't allow car drivers to enter and choose
location rather they hand over the keys and
cars at the gate from where the staff takes cars
into parking zone where each car is parked at
the next available position of last car parked
and returns the key with CPS Tag to Car Driver.
Pariding slots are full, extra Car cannot be
perked
CPS maintains the record for each car placed at
particular slot with car plate number, so that
when Owner comes to take his/her Car it will
be easy to find the exact position of where the
Car nas parked.
For example list of Car Plate Numbers can be
as per Cars position in CPS Parking area.
Write code for 2 functionalities as
1.The Park String plateNumber) function which
takes plateNumber of newly entered Car and
allocate a position in list. That is adding Car to
parking area to the next position of last Car
Carked
Answers
Answered by
0
Answer:
Valet parking is a parking service offered by some restaurants, stores, and other businesses. In contrast to "self-parking", where customers find a parking space on their own, customers' vehicles are parked for them by a person called a valet. This service either requires a fee to be paid by the customer or is offered free of charge by the establishment.
Similar questions