Uploaded by abdunaser alghamdi

Sampleoutput

advertisement
---------------------------------------------------------------------------------------Welcome to Rental Car Company
---------------------------------------------------------------------------------------1 : Rent a car
2 : Return a car (not implemented yet)
3 : Print customer details (not implemented yet)
4 : Print car details (not implemented yet)
5 : Print monthly report (not implemented yet)
Any other key to quit
-------------------------------------------------------------------------------> Please enter your choice: 1
Car Type
Price (in SAR)
------------------------------------------------| S or s : Small Car
100
| M or m : Medium Car
150
| L or l : Large Car
200
| Any other key to return to Main Menu
----------------------------------------------> Please enter your choice of car: S
----------------------------- Car Optional Specifications------------------------------Specification Type
Default Options
Selection Options
----------------------------------------------------------------------------------------| Transmission Type
| M: Manual
|A: Auto
| Mileage
| A: 200K/day
|B: 300K/day
|C:Open Mileage
| Infant seat
| N: No
|Y: Yes
| Handheld Navigation System | N: No
|Y: Yes
---------------------------------------------------------------------------------------Would you like to change the above specification (Y/N)? y
Please select the Transmission Type : A
Transmission Type changed to Automatic
Please select the Mileage Type : B
Mileage type changed to choice B
Do you want the Infant Seat Option? n
Do you want the Handheld Navigation System Option? Y
Handheld Navigation System Option selected
------------- Car Insurance----------------------------------------------------| 1. Fully comprehensive
| 2. Third-party, fire and theft
| 3. Third party
| Any other key to return to Main Menu
-------------------------------------> Please enter your choice of insurance: 1
Full Comprehensive Insurance Selected
> Enter your name (first and last): Ronaldihno
> Enter 10 digit for phone number starting with 0: 0876765676
> Fill-in your address information:
Enter building number: 12
Enter street name: Balad
Enter city: Jeddah
Enter the 5-digit zip code: 45654
> When do you want to start renting the car : Thursday
> Enter the number of days that you would like to rent the car : 10
----------------------------------------------------------------------------------Your request was received and the following are your booking details
---------------------------------------------------------------------------------Your Confirmation Reference Number is :150_RONALDIHNO
Name: Ronaldihno
Number of Renting Day: 10
Preferred date of Renting: Thursday
Phone:
0876765676
*** Cost Breakdown ***
-----------------------------------------------------------------------------------Car Cost
Specification Cost
Cost of Insurance
------------------------------------------------------------------------------------100.00
29.99
30.00
------------------------------------------------------------------------------------Cost per day:
Total Cost:
159.99 SAR
1599.90 SAR
*********** Thank you for being our valued customer *************
---------------------------------------------------------------------------------------Welcome to Rental Car Company
---------------------------------------------------------------------------------------1 : Rent a car
2 : Return a car (not implemented yet)
3 : Print customer details (not implemented yet)
4 : Print car details (not implemented yet)
5 : Print monthly report (not implemented yet)
Any other key to quit
-------------------------------------------------------------------------------> Please enter your choice: 1
Car Type
Price (in SAR)
------------------------------------------------| S or s : Small Car
100
| M or m : Medium Car
150
| L or l : Large Car
200
| Any other key to return to Main Menu
-----------------------------------------------
> Please enter your choice of car: L
----------------------------- Car Optional Specifications------------------------------Specification Type
Default Options
Selection Options
----------------------------------------------------------------------------------------| Transmission Type
| M: Manual
|A: Auto
| Mileage
| A: 200K/day
|B: 300K/day
|C:Open Mileage
| Infant seat
| N: No
|Y: Yes
| Handheld Navigation System | N: No
|Y: Yes
---------------------------------------------------------------------------------------Would you like to change the above specification (Y/N)? y
Please select the Transmission Type : a
Transmission Type changed to Automatic
Please select the Mileage Type : b
Mileage type changed to choice B
Do you want the Infant Seat Option? y
Infant Seat Option Selected
Do you want the Handheld Navigation System Option? y
Handheld Navigation System Option selected
------------- Car Insurance----------------------------------------------------| 1. Fully comprehensive
| 2. Third-party, fire and theft
| 3. Third party
| Any other key to return to Main Menu
-------------------------------------> Please enter your choice of insurance: 2
Third-party, fire and theft Insurance Selected
> Enter your name (first and last): Sun Top
> Enter 10 digit for phone number starting with 0: 0876765434
> Fill-in your address information:
Enter building number: 2
Enter street name: Juice Street
Enter city: Orange County
Enter the 5-digit zip code: 3435
Enter the 5-digit zip code: 34567
> When do you want to start renting the car : Tomorrow
> Enter the number of days that you would like to rent the car : 60
----------------------------------------------------------------------------------Your request was received and the following are your booking details
---------------------------------------------------------------------------------Your Confirmation Reference Number is :289_SUN TOP
Name: Sun Top
Number of Renting Day: 60
Preferred date of Renting: Tomorrow
Phone:
0876765434
*** Cost Breakdown ***
-----------------------------------------------------------------------------------Car Cost
Specification Cost
Cost of Insurance
------------------------------------------------------------------------------------200.00
46.99
40.00
------------------------------------------------------------------------------------Cost per day:
Total Cost:
286.99 SAR
17219.40 SAR
***********Thank you for being our valued customer *************
---------------------------------------------------------------------------------------Welcome to Rental Car Company
---------------------------------------------------------------------------------------1 : Rent a car
2 : Return a car (not implemented yet)
3 : Print customer details (not implemented yet)
4 : Print car details (not implemented yet)
5 : Print monthly report (not implemented yet)
Any other key to quit
-------------------------------------------------------------------------------> Please enter your choice: 1
CarType
Price (in SAR)
------------------------------------------------| S or s : Small Car
100
| M or m : Medium Car
150
| L or l : Large Car
200
| Any other key to return to Main Menu
----------------------------------------------> Please enter your choice of car: f
---------------------------------------------------------------------------------------Welcome to Rental Car Company
---------------------------------------------------------------------------------------1 : Rent a car
2 : Return a car (not implemented yet)
3 : Print customer details (not implemented yet)
4 : Print car details (not implemented yet)
5 : Print monthly report (not implemented yet)
Any other key to quit
-------------------------------------------------------------------------------> Please enter your choice: 1
CarType
Price (in SAR)
------------------------------------------------| S or s : Small Car
100
| M or m : Medium Car
150
| L or l : Large Car
200
| Any other key to return to Main Menu
----------------------------------------------> Please enter your choice of car: L
----------------------------- Car Optional Specifications------------------------------Specification Type
Default Options
Selection Options
----------------------------------------------------------------------------------------| Transmission Type
| M: Manual
|A: Auto
| Mileage
| A: 200K/day
|B: 300K/day
|C:Open Mileage
| Infant seat
| N: No
|Y: Yes
| Handheld Navigation System | N: No
|Y: Yes
---------------------------------------------------------------------------------------Would you like to change the above specification (Y/N)? n
Default Specifications selected
------------- Car Insurance----------------------------------------------------| 1. Fully comprehensive
| 2. Third-party, fire and theft
| 3. Third party
| Any other key to return to Main Menu
-------------------------------------> Please enter your choice of insurance: h
---------------------------------------------------------------------------------------Welcome to Rental Car Company
---------------------------------------------------------------------------------------1 : Rent a car
2 : Return a car (not implemented yet)
3 : Print customer details (not implemented yet)
4 : Print car details (not implemented yet)
5 : Print monthly report (not implemented yet)
Any other key to quit
--------------------------------------------------------------------------------
> Please enter your choice: 1
CarType
Price (in SAR)
------------------------------------------------| S or s : Small Car
100
| M or m : Medium Car
150
| L or l : Large Car
200
| Any other key to return to Main Menu
----------------------------------------------> Please enter your choice of car: L
----------------------------- Car Optional Specifications------------------------------Specification Type
Default Options
Selection Options
----------------------------------------------------------------------------------------| Transmission Type
| M: Manual
|A: Auto
| Mileage
| A: 200K/day
|B: 300K/day
|C:Open Mileage
| Infant seat
| N: No
|Y: Yes
| Handheld Navigation System | N: No
|Y: Yes
---------------------------------------------------------------------------------------Would you like to change the above specification (Y/N)? y
Please select the Transmission Type : m
Please select the Mileage Type : g
Default Mileage type set
Do you want the Infant Seat Option? n
Do you want the Handheld Navigation System Option? n
------------- Car Insurance----------------------------------------------------| 1. Fully comprehensive
| 2. Third-party, fire and theft
| 3. Third party
| Any other key to return to Main Menu
-------------------------------------> Please enter your choice of insurance: 3
>
>
>
>
>
>
Third-party Insurance Selected
Enter your name (first and last): Doritos
Enter 10 digit for phone number starting with 0: 0987
Enter 10 digit for phone number starting with 0: 0838765436
Fill-in your address information:
Enter building number: 2
Enter street name: Chips Lane
Enter city: Fish and Chips
Enter the 5-digit zip code: 34234
When do you want to start renting the car : next month
Enter the number of days that you would like to rent the car : 4
----------------------------------------------------------------------------------Your request was received and the following are your booking details
---------------------------------------------------------------------------------Your Confirmation Reference Number is :827_DORITOS
Name: Doritos
Phone:
Number of Renting Day: 4
Preferred date of Renting: next month
0838765436
*** Cost Breakdown ***
-----------------------------------------------------------------------------------Car Cost
Specification Cost
Cost of Insurance
------------------------------------------------------------------------------------200.00
0.00
20.00
------------------------------------------------------------------------------------Cost per day:
Total Cost:
220.00 SAR
880.00 SAR
***********Thank you for being our valued customer *************
---------------------------------------------------------------------------------------Welcome to Rental Car Company
---------------------------------------------------------------------------------------1 : Rent a car
2 : Return a car (not implemented yet)
3 : Print customer details (not implemented yet)
4 : Print car details (not implemented yet)
5 : Print monthly report (not implemented yet)
Any other key to quit
-------------------------------------------------------------------------------> Please enter your choice: 5
Download