Answered step by step
Verified Expert Solution
Link Copied!

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++

  1. 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.
  2. Menu: Design code to create a menu that prompts a user for menu options. The menu should include the following options:
  3. 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.
  4. Print Course List: This will print an alphanumeric list of all the courses in the Computer Science department.
  5. Print Course: This will print the course title and the prerequisites for any individual course.
  6. Exit: This will exit you out of the program.
  7. Loading Data Structure: Develop working code to load data from the file into the data structure.
  8. 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.
  9. Sort the course information alphanumerically from lowest to highest.
  10. Print the sorted list to a display.
  11. 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

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

Introduction to Wireless and Mobile Systems

Authors: Dharma P. Agrawal, Qing An Zeng

4th edition

1305087135, 978-1305087132, 9781305259621, 1305259629, 9781305537910 , 978-130508713

More Books

Students also viewed these Programming questions