Question
Problem: Parking Garage (C++) 1. Create a vehicle class with following attributes and property. a. Registration number b. Vehicle Type (car or truck) c. Owner
Problem: Parking Garage (C++) 1. Create a vehicle class with following attributes and property. a. Registration number b. Vehicle Type (car or truck) c. Owner 2. A parking garage charges a $10.00 minimum fee to park. 3. Parking garage charges are different for every vehicle type. 4. Calculates and prints the parking charges for each customer who parked their cars in garage. 5. Parking garage have a charges table. 6. You should enter the hours parked for each customer. 7. Print the results in a neat tabular format and should calculate and print the total. Write a driver class in which 1. User can enter vehicle registration, type and color to park or drive away. 2. Enter parking time for every vehicle.
PS: I dont have any other sample 'input'..
Charges Table: Vehicle Type Charges Car Truck Bus $2.00 $4.00 $3.00 Sample output: Sr. Registration Type Owner Hour Charges 1 2 3 4 5 LEE-2109 LER-0012 LEF-0909 RER-1234 LE-8765 Car Truck Car Bus Car Jackson John Victoria Jack Max 6 2 2 10 14 $12.00 $10.00 $10.00 $30.00 $28.00 Total: $90.00 Charges Table: Vehicle Type Charges Car Truck Bus $2.00 $4.00 $3.00 Sample output: Sr. Registration Type Owner Hour Charges 1 2 3 4 5 LEE-2109 LER-0012 LEF-0909 RER-1234 LE-8765 Car Truck Car Bus Car Jackson John Victoria Jack Max 6 2 2 10 14 $12.00 $10.00 $10.00 $30.00 $28.00 Total: $90.00Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started