The parking system starts with asking the administrator to enter the password the password is "1111". The administrator will have two attempts to enter the correct password. If the passwords would have been entered two times incorrectly, the system will have to be restart. If the password is entered correct a menu will appear which would be for the users of the parking system.
There are 4 functionalities for the user:
-
Arrival of a vehicle: The system will ask which type of vehicle you have to park. A car or a bike. Then the system will ask the numerical part of the plate number of the vehicle. the system will check whether the entered plate number is correct or not. 0 cannot be entered in the plate number and a plate number already present in the parking cannot be entered again. If the entered plate number meets the conditions, then the system will ask about number of hours the vehicle will be parked. Then a bill will be generated and the vehicle could be parked inside the parking.
-
Number of vehicles parked: this option will show the total number of vehicles parked inside the parking. Number of cars and bikes parked inside the parking.
-
Order of vehicles in parking area: this option will show the user where the vehicles are parked in the parking. The position of every vehicle in the parking will be printed by the system on the screen.
-
Departure of vehicle:The system will ask which type of vehicle you want to depart. A car or a bike. Then the system will ask the numerical part of the plate number of the vehicle. the system will check whether the entered plate number is correct or not. 0 cannot be entered in the plate number. Then the system will check whether the number plate entered is present inside the parking or not. If present then the vehicle will be departed.
The system can be exitted from the menu. The system can't be shutdown if there is a vehicle present in the parking. if there is no vehicle in the parking. Then the system will ask the password of the administrator which is "1111". If the password is entered correctly the system will shut down.