Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed

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.00

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Current Trends In Database Technology Edbt 2004 Workshops Edbt 2004 Workshops Phd Datax Pim P2panddb And Clustweb Heraklion Crete Greece March 2004 Revised Selected Papers Lncs 3268

Authors: Wolfgang Lindner ,Marco Mesiti ,Can Turker ,Yannis Tzitzikas ,Athena Vakali

2005th Edition

3540233059, 978-3540233053

More Books

Students also viewed these Databases questions