Question: Example Program Run: of the C++ project SIMPLIFIED SIMULATION OF A RENTAL AGENCY ======================================== ______________ MENUE A end of simulation B set new simulation date

Example Program Run: of the C++ project
SIMPLIFIED SIMULATION OF A RENTAL AGENCY
========================================
______________
MENUE
A end of simulation
B set new simulation date
C new rental manually
D print rental of today 2021-01-01
E print rental of tomorrow 2021-01-02
F print all rentals
G print agency profit
H set agency profit percent
I add bikes
J add E-bikes
K add E-scooters
L new rental simulation
your choice: b
input date of today: 2021-01-08
______________
MENUE
A end of simulation
B set new simulation date
C new rental manually
D print rental of today 2021-01-08
E print rental of tomorrow 2021-01-09
F print all rentals
G print agency profit
H set agency profit percent
I add bikes
J add E-bikes
K add E-scooters
L new rental simulation
your choice: d
SCHEDULE FOR 2021-01-08
______________
MENUE
A end of simulation
B set new simulation date
C new rental manually
D print rental of today 2021-01-08
E print rental of tomorrow 2021-01-09
F print all rentals
G print agency profit
H set agency profit percent
I add bikes
J add E-bikes
K add E-scooters
L new rental simulation
your choice: e
SCHEDULE FOR 2021-01-09
______________
MENUE
A end of simulation
B set new simulation date
C new rental manually
D print rental of today 2021-01-08
E print rental of tomorrow 2021-01-09
F print all rentals
G print agency profit
H set agency profit percent
I add bikes
J add E-bikes
K add E-scooters
L new rental simulation
your choice: f
profit: 0.00 EUR
______________
MENUE
A end of simulation
B set new simulation date
C new rental manually
D print rental of today 2021-01-08
E print rental of tomorrow 2021-01-09
F print all rentals
G print agency profit
H set agency profit percent
I add bikes
J add E-bikes
K add E-scooters
L new rental simulation
your choice: g
agency profit: 0.00 EUR
______________
MENUE
A end of simulation
B set new simulation date
C new rental manually
D print rental of today 2021-01-08
E print rental of tomorrow 2021-01-09
F print all rentals
G print agency profit
H set agency profit percent
I add bikes
J add E-bikes
K add E-scooters
L new rental simulation
your choice: h
agency profit percent: 35
______________
MENUE
A end of simulation
B set new simulation date
C new rental manually
D print rental of today 2021-01-08
E print rental of tomorrow 2021-01-09
F print all rentals
G print agency profit
H set agency profit percent
I add bikes
J add E-bikes
K add E-scooters
L new rental simulation
your choice: i
how many Bikes in this simulation? 3
______________
MENUE
A end of simulation
B set new simulation date
C new rental manually
D print rental of today 2021-01-08
E print rental of tomorrow 2021-01-09
F print all rentals
G print agency profit
H set agency profit percent
I add bikes
J add E-bikes
K add E-scooters
L new rental simulation
your choice: f
SCHEDULE FOR 1: City1 (Bike)
SCHEDULE FOR 2: City2 (Bike)
SCHEDULE FOR 3: City3 (Bike)
profit: 0.00 EUR
______________
MENUE
A end of simulation
B set new simulation date
C new rental manually
D print rental of today 2021-01-08
E print rental of tomorrow 2021-01-09
F print all rentals
G print agency profit
H set agency profit percent
I add bikes
J add E-bikes
K add E-scooters
L new rental simulation
your choice: j
how many EBikes in this simulation? 4
______________
MENUE
A end of simulation
B set new simulation date
C new rental manually
D print rental of today 2021-01-08
E print rental of tomorrow 2021-01-09
F print all rentals
G print agency profit
H set agency profit percent
I add bikes
J add E-bikes
K add E-scooters
L new rental simulation
your choice: f
SCHEDULE FOR 1: City1 (Bike)
SCHEDULE FOR 2: City2 (Bike)
SCHEDULE FOR 3: City3 (Bike)
SCHEDULE FOR 4: Trekky1 (EBike)
SCHEDULE FOR 5: Trekky2 (EBike)
SCHEDULE FOR 6: Trekky3 (EBike)
SCHEDULE FOR 7: Trekky4 (EBike)
profit: 0.00 EUR
______________
MENUE
A end of simulation
B set new simulation date
C new rental manually
D print rental of today 2021-01-08
E print rental of tomorrow 2021-01-09
F print all rentals
G print agency profit
H set agency profit percent
I add bikes
J add E-bikes
K add E-scooters
L new rental simulation
your choice: i
how many Bikes in this simulation? 1
______________
MENUE
A end of simulation
B set new simulation date
C new rental manually
D print rental of today 2021-01-08
E print rental of tomorrow 2021-01-09
F print all rentals
G print agency profit
H set agency profit percent
I add bikes
J add E-bikes
K add E-scooters
L new rental simulation
your choice: f
SCHEDULE FOR 1: City1 (Bike)
SCHEDULE FOR 2: City2 (Bike)
SCHEDULE FOR 3: City3 (Bike)
SCHEDULE FOR 4: Trekky1 (EBike)
SCHEDULE FOR 5: Trekky2 (EBike)
SCHEDULE FOR 6: Trekky3 (EBike)
SCHEDULE FOR 7: Trekky4 (EBike)
SCHEDULE FOR 8: City4 (Bike)
profit: 0.00 EUR
______________
MENUE
A end of simulation
B set new simulation date
C new rental manually
D print rental of today 2021-01-08
E print rental of tomorrow 2021-01-09
F print all rentals
G print agency profit
H set agency profit percent
I add bikes
J add E-bikes
K add E-scooters
L new rental simulation
your choice: k
how many EScooters in this simulation? 3
______________
MENUE
A end of simulation
B set new simulation date
C new rental manually
D print rental of today 2021-01-08
E print rental of tomorrow 2021-01-09
F print all rentals
G print agency profit
H set agency profit percent
I add bikes
J add E-bikes
K add E-scooters
L new rental simulation
your choice: f
SCHEDULE FOR 1: City1 (Bike)
SCHEDULE FOR 2: City2 (Bike)
SCHEDULE FOR 3: City3 (Bike)
SCHEDULE FOR 4: Trekky1 (EBike)
SCHEDULE FOR 5: Trekky2 (EBike)
SCHEDULE FOR 6: Trekky3 (EBike)
SCHEDULE FOR 7: Trekky4 (EBike)
SCHEDULE FOR 8: City4 (Bike)
SCHEDULE FOR 9: Scooty1 (not street legal) (EScooter)
SCHEDULE FOR 10: Scooty2 (not street legal) (EScooter)
SCHEDULE FOR 11: Scooty3 (not street legal) (EScooter)
profit: 0.00 EUR
______________
MENUE
A end of simulation
B set new simulation date
C new rental manually
D print rental of today 2021-01-08
E print rental of tomorrow 2021-01-09
F print all rentals
G print agency profit
H set agency profit percent
I add bikes
J add E-bikes
K add E-scooters
L new rental simulation
your choice: c
1: City1 (Bike)
2: City2 (Bike)
3: City3 (Bike)
4: Trekky1 (EBike)
5: Trekky2 (EBike)
6: Trekky3 (EBike)
7: Trekky4 (EBike)
8: City4 (Bike)
9: Scooty1 (not street legal) (EScooter)
10: Scooty2 (not street legal) (EScooter)
11: Scooty3 (not street legal) (EScooter)
choose vehicle no: 3
day of rental: 2021-02-12
number of days: 3
input data vehicle renter name:
Dilbert
booked, price for this rental: 29.97 EUR
______________
MENUE
A end of simulation
B set new simulation date
C new rental manually
D print rental of today 2021-01-08
E print rental of tomorrow 2021-01-09
F print all rentals
G print agency profit
H set agency profit percent
I add bikes
J add E-bikes
K add E-scooters
L new rental simulation
your choice: d
SCHEDULE FOR 2021-01-08
1: City1 (Bike)
2: City2 (Bike)
3: City3 (Bike)
4: Trekky1 (EBike)
5: Trekky2 (EBike)
6: Trekky3 (EBike)
7: Trekky4 (EBike)
8: City4 (Bike)
9: Scooty1 (not street legal) (EScooter)
10: Scooty2 (not street legal) (EScooter)
11: Scooty3 (not street legal) (EScooter)
______________
MENUE
A end of simulation
B set new simulation date
C new rental manually
D print rental of today 2021-01-08
E print rental of tomorrow 2021-01-09
F print all rentals
G print agency profit
H set agency profit percent
I add bikes
J add E-bikes
K add E-scooters
L new rental simulation
your choice: f
SCHEDULE FOR 1: City1 (Bike)
SCHEDULE FOR 2: City2 (Bike)
SCHEDULE FOR 3: City3 (Bike)
2021-02-12 to 2021-02-15, rental no. 1 for Dilbert , total: 29.97 EUR
SCHEDULE FOR 4: Trekky1 (EBike)
SCHEDULE FOR 5: Trekky2 (EBike)
SCHEDULE FOR 6: Trekky3 (EBike)
SCHEDULE FOR 7: Trekky4 (EBike)
SCHEDULE FOR 8: City4 (Bike)
SCHEDULE FOR 9: Scooty1 (not street legal) (EScooter)
SCHEDULE FOR 10: Scooty2 (not street legal) (EScooter)
SCHEDULE FOR 11: Scooty3 (not street legal) (EScooter)
profit: 10.49 EUR
______________

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!