Car parking is saved in a 3 dimension deep array at the current state (See here) .
To check if a car is parked at a certain location we need to loop trough all the floors, rows and places. This is incrementing resourceful when the cark park gets populated.
We need to store the location and the cars in a different mater.
Car parking is saved in a 3 dimension deep array at the current state (See here) .
To check if a car is parked at a certain location we need to loop trough all the floors, rows and places. This is incrementing resourceful when the cark park gets populated.
We need to store the location and the cars in a different mater.