Question: Write a C + + program that uses 3 custom classes ( Cars , Sedans, and Trucks ) . Data on the vehicles provided is

Write a C++ program that uses 3 custom classes (Cars, Sedans, and Trucks).Data on the vehicles provided is used in program via I/O
file stream. In the Sedans file will be this information:
Toyota Camry 3534820597yes
Lexus ES 556094693yes
Honda Accord 2298711768no
In the Trucks file will be this information:
Toyota Tundra 3427168058V6
Ford F-150556099785V8
Nissan Titan 339902677V6
The user of the program can search for cars using provided input in the attached photo. Searches return correct cars and the user can perform multiple searches. Output should look like the black boxes in the attached photo. Comments are appreciated as well.
Use data from provided text files for your inventory.
Sedan data includes the following:
o Make, Model, Price, Miles, Hybrid?
Truck data includes the following:
o Make, Model, Price, Miles, Engine
Users may search inventory based on the data.
o Make and Model
search results must match.
o Price and Miles
search results match or lesser value. Cannot use vectors or pushback. Find alternatives to this please.
 Write a C++ program that uses 3 custom classes (Cars, Sedans,

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!