Welcome to Spinny, a Java-based Car Renting System that allows users to rent cars for a specified number of days and return them with ease! This application simplifies the car rental process for both customers and administrators.
- 🛠️ User-Friendly Menu: Interactive menu to rent and return cars.
- 🚘 Car Management: Browse available cars and check car details like brand, model, and price per day.
- 📅 Rental System: Rent cars for a specific number of days, with total price calculation.
- 🔄 Return Cars: Use the car ID to return the rented car.
- 🧾 Customer Records: Automatic customer ID generation and rental tracking.
Clone the repository:
git clone https://github.com/yourusername/spinny-car-renting-system.git
Navigate to the project directory::
cd spinny-car-renting-system
Compile and run the project:
javac Main.java
java Main- Add Cars: Several car models, including Toyota Fortuner, BMW 520D, and Tata Altroz, are preloaded into the system.
- Rent a Car: Input your name, select a car from the list, and specify the number of rental days to rent a car.
- Return a Car: Use the car ID to return the rented car.
- Java for application logic.
- ArrayList for managing cars, customers, and rentals.
- Browse available cars.
- Choose a car by entering its car ID.
- Confirm the rental duration, and the system will calculate the total price based on the car's price per day.
- Return the car by entering the car ID.
- The system will verify and mark the car as available again.
- 🖥️ Implement a graphical user interface (GUI).
- 🔐 Add user authentication and profile management.
- 💾 Connect to a database for better data persistence.