Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.
image text in transcribed

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

Database Processing

Authors: David M. Kroenke, David Auer

11th Edition

B003Y7CIBU, 978-0132302678

More Books

Students also viewed these Databases questions

Question

What is the most important part of any HCM Project Map and why?

Answered: 1 week ago