Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a C++ program that declares a class called course with the following member functions and variables: int ID;// private string name;//private void readCrs0:// public

image text in transcribed
Write a C++ program that declares a class called course with the following member functions and variables: int ID;// private string name;//private void readCrs0:// public void printCrs0:// public Then create a class called student that contains the following member functions and variables: int ID;// private string name;// private Vector of courses// private void readStdD://public void printStd://public Write a main program that: 1. Declare a Student object 2. 3. Call its read function to fill it in from the user Call its print function to print it out to the user While filling the student object, ask the user for the number of courses and fill in the vector accordingly. Provide snapshots of the results and a cover page

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions