Question: Create a program that illustrates C++ data structures. Your program should do the following: Essentially create a mini database about cars. There will be a

Create a program that illustrates C++ data structures. Your program should do the following:

Essentially create a mini database about cars.

  1. There will be a custom data structure that stores the details of cars. Each car will have a make, a model, a year of introduction to the market, a Boolean option for auto, or manual and a recommended retail price.
  2. When the program starts it should ask the user to enter the details about 3 different cars (in an array of the data structure above).
  3. When the input is done, the program should display a menu with the following options:
  • See car details (this option will allow you to choose a car and see its details)
  • Update car details (this option will allow you to change the details of a specific car)
  • Print all car details (this option will allow you to print all the details of all cars to the console)
  • Save cars (this option will allow you to save the car details of all cars to a file)

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!