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 custom classes Cars Sedans, and TrucksData on the vehicles provided is used in program via IO
file stream. In the Sedans file will be this information:
Toyota Camry yes
Lexus ES yes
Honda Accord no
In the Trucks file will be this information:
Toyota Tundra V
Ford FV
Nissan Titan V
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.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
