This is a Java program to manage parking. It helps with car entry, car exit, checking parking details, and giving discounts to members. It also has a login system for security.
This program was created by:
- 👤 Yudho
- 👤 Wira
- 👤 Elian
- You must log in to use the system.
- Default login details:
- Username:
admin - Password:
admin
- Username:
- You must enter your balance after logging in.
- Add a car to the parking lot by entering:
- Plate number
- Car color
- Car brand
- The system will save the time the car enters.
- The system will not allow duplicate plate numbers.
- If the parking lot is full, you cannot add more cars.
- Parking fees are based on the time the car was parked:
- Free if parked for less than 5 minutes.
- IDR 2,000 for every 5 minutes after the first 5 minutes.
- Members get a 50% discount.
- Pay with or without a member discount.
- The system removes the car after payment.
- View a list of all parked cars:
- Plate number
- Car color and brand
- Entry time
- Parking fee and member discount fee
- Register new members using their phone number and name.
- Check if a phone number is linked to a member.
- View all members.
- Delete members.
- Starts the program.
- Opens the login menu.
- Handles user login.
- Asks for your balance after logging in.
- Main menu where you can choose:
- Car Entry
- Car Exit
- Parking Details
- Member Management
- Stores car details like plate number, color, brand, and entry time.
- Manages car entry:
- Checks for duplicate or invalid input.
- Manages car exit:
- Calculates fees.
- Handles payments with or without member discounts.
- Keeps the list of parked cars.
- Checks if the parking lot is full.
- Calculates parking fees.
- Manages members:
- Register new members
- Delete members
- Check or view member details