Question: Solution is required in C++ language. 1. Create a vehicle class with following attributes and property. a. Registration number b. Vehicle Type (car or truck)

Solution is required in C++ language. Solution is required in C++ language. 1. Create a vehicle class with

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. Charges Table: Vehicle Type Charges Car $2.00 Truck $4.00 Bus $3.00 Type Owner Hour Charges Sample output: Sr. Registration 1 LEE-2109 2 LER-0012 LEF-0909 4 RER-1234 5 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

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!