A simple Car Rental Management System written in Python.
This console-based application allows users to rent cars, return them, and view total costs including tax and insurance.
It is a beginner-friendly project demonstrating the use of loops, conditionals, user input, and arithmetic operations.
- โ Rent a car from available models
- โ Choose insurance type (Liability or Full)
- โ
Automatically calculates:
- Rental cost
- 5% tax
- Insurance cost
- Total cost per rental
- โ Return rented cars to update availability
- โ View total accumulated costs
- โ Handles invalid inputs gracefully
| Car Model | Availability | Price/Day | Liability Insurance/Day | Full Insurance/Day |
|---|---|---|---|---|
| Camry | 3 | QR 90 | QR 20 | QR 50 |
| Pajero | 2 | QR 150 | QR 30 | QR 70 |
| Altino | 2 | QR 70 | QR 20 | QR 50 |
- Run the program.
- Choose one of the following options:
1โ Rent a car2โ Return a car3โ Print total costs
- When renting:
- Select a car model (1โ3)
- Enter number of rental days
- Choose insurance type (
Lfor Liability,Ffor Full)
- The system will display:
- Rental cost
- Tax (5%)
- Insurance cost
- Total amount to pay
- Repeat operations as needed (
Yto continue,Nto exit).