CAR PARKING SYSTEM
A building of 10 floors is used for parking cars. The area of each floor can be used for parking 100 cars. An automatic parking system is used to detect which parking slot is free at each moment. So, the user will check at first which locations are free and select one of them. Then, send a message to the driver informing him about the selected location and a signal to open the gate. Assume that the building spaces as elements of a matrix, write a Matlab program for this parking system. Draw the required flow chart.