45 lines
3.2 KiB
Markdown
45 lines
3.2 KiB
Markdown
# Python car rental management
|
|
A simple car rental program developed for the course CT60A0203 Introduction to Programming of LUT University, Finland.
|
|
The program allows users to view, rent, and return vehicles.
|
|
Python File Operations were used.
|
|
<br>
|
|
```
|
|
Vehicle Menu
|
|
Display Cars 1
|
|
Add/delete Vehicle 2
|
|
Rent Vehicle 3
|
|
Complete Rent 4
|
|
Reporting Vehicle Information 5
|
|
Exit 6
|
|
|
|
Choose your options: 1
|
|
|
|
A for available vehicles or R for vehicles on rent: A
|
|
+---------------------+-----------------------+-------------------------+-------------------+----------------+
|
|
| Registration number | Model name | Type (Ordinary/Premium) | Free mileage (km) | Daily rent (€) |
|
|
+---------------------+-----------------------+-------------------------+-------------------+----------------+
|
|
| XJY-604 | Hyundai Getz | O | 0 | 45.0 |
|
|
| AJB-123 | BMW mini | P | 200 | 65.0 |
|
|
| WYN-482 | Ford Fiesta | O | 0 | 40.0 |
|
|
| BKV-943 | Ford Ikon | P | 150 | 60.0 |
|
|
| JMB-535 | Ford Flex | O | 0 | 50.0 |
|
|
| MKJ-634 | Ford Mustang Mach-E | P | 180 | 80.0 |
|
|
| GTY-734 | Dacia Sandero | O | 0 | 20.0 |
|
|
| BTR-921 | Dacia Duster | O | 0 | 25.0 |
|
|
| ADH-402 | VW Golf | O | 0 | 50.0 |
|
|
| KJL-356 | VW Tiguan | P | 200 | 80.0 |
|
|
| TUI-263 | Skoda Octavia | P | 150 | 60.0 |
|
|
| FUW-161 | Mercedes-Benz C-Class | P | 200 | 80.0 |
|
|
| MDF-347 | Renault Clio | O | 0 | 30.0 |
|
|
| XIR-209 | Renault Captur | O | 0 | 40.0 |
|
|
| QPC-417 | Citroen C3 | O | 0 | 30.0 |
|
|
| PEI-807 | Citroen C5 | O | 0 | 40.0 |
|
|
| KJE-215 | Hyundai Elantra | O | 0 | 30.0 |
|
|
| LME-136 | Hyundai Sonata | O | 0 | 40.0 |
|
|
| NDW-325 | DS 3 Crossback | O | 0 | 45.0 |
|
|
| EID-210 | Smart Forfour | O | 0 | 35.0 |
|
|
+---------------------+-----------------------+-------------------------+-------------------+----------------+
|
|
|
|
Press ENTER to return to main menu...
|
|
```
|