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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started