Question: Solve using C++ This program will make use of your planet vector program. Write a program that will keep track of a list of planets.

Solve using C++

This program will make use of your planet vector program.

Write a program that will keep track of a list of planets. Your program will use a menu similar to the one below:

1. Add planet

2. Delete planet

3. Find planet

4. Show all planets

5. Sort planets

6. Quit

This is similar to your planet list assignment. Please refer to the requirements for that assignment, as they apply to this one as well. You are adding two additional functions in this assignment.

Option 5 - Sort planets

You will implement one of the sorting algorithms discussed during this week to sort your list of planets alphabetically.

Option 6 - Quit

When you choose to quit your program, your program will write the data for each planet out to a file, so that the data is not lost. When you run your program, your program will read the same file so that the data from the previous run of the program is not lost. Please note that we will be covering file input/output next week.

This is the major project for this class. There will be other assignments that will be given, however; this is the one that will be due last.

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!