LeCooolGuy
12-06-2015, 02:52 PM
Can anyone help me with this?
Create a Parking Lot Program for ABC Company, it must have the following options:
1 - Transaction
2 - Reports
0 - Exit
If the user chose 1: The user must input the following:
1. Plate Number of a car.
2. Parking Level
3. Number of Hours Parked
Compute and display the Parking Fee based on the following:
1. First 2 hours = 30 pesos
2. Succeeding Hours = 20 pesos / hour
3. Parking Level A -> No Discount
4. Parking Level B -> 5% Discount
5. Parking Level C -> 10% Discount
6. Other parking Level -> Invalid Input
If the user chose 2: you must display a summary of transactions in tabular format:
Rec # | Plate Number | Hours Parked | Level | Discounted Fee
Bonus points will be given if you can display the total amount collected by the company.
Your program must use function and array.
Create a Parking Lot Program for ABC Company, it must have the following options:
1 - Transaction
2 - Reports
0 - Exit
If the user chose 1: The user must input the following:
1. Plate Number of a car.
2. Parking Level
3. Number of Hours Parked
Compute and display the Parking Fee based on the following:
1. First 2 hours = 30 pesos
2. Succeeding Hours = 20 pesos / hour
3. Parking Level A -> No Discount
4. Parking Level B -> 5% Discount
5. Parking Level C -> 10% Discount
6. Other parking Level -> Invalid Input
If the user chose 2: you must display a summary of transactions in tabular format:
Rec # | Plate Number | Hours Parked | Level | Discounted Fee
Bonus points will be given if you can display the total amount collected by the company.
Your program must use function and array.