Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I have a question about how to write the logical syntax for the following assignment in C++ Input: Design code to correctly read the course
I have a question about how to write the logical syntax for the following assignment in C++
- Input: Design code to correctly read the course data file. The program will be a command-line program written in C++. It will prompt the user to ask for the file name that contains the course data and read that file into course objects that are stored in a vector data structure. Your data structure will hold course objects.
- Menu: Design code to create a menu that prompts a user for menu options. The menu should include the following options:
- Load Data Structure: Load the file data into the data structure. Note that before you can print the course information or the sorted list of courses, you must load the data into the data structure.
- Print Course List: This will print an alphanumeric list of all the courses in the Computer Science department.
- Print Course: This will print the course title and the prerequisites for any individual course.
- Exit: This will exit you out of the program.
- Loading Data Structure: Develop working code to load data from the file into the data structure.
- Course List: Develop working code to sort and print out a list of the courses in the Computer Science program in alphanumeric order(including all math courses). Then, create code that will allow advisers to print a course list in alphanumeric order.
- Sort the course information alphanumerically from lowest to highest.
- Print the sorted list to a display.
- Course Information: Develop working code to print course information.This code should allow users to look up a course and print out information about its title and prerequisites. The program will need to prompt the user to enter the courseNumber. You will then print out the name of the course along with the prerequisite courseNumbers and titles.
Thank you
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