composition and aggregation in c++

User Generated

qvlnxs752

Computer Science

Description

First create a student class that contains the name and student ID.Then create a department class that contains name of department.After that create a college class that contains school name and number of departments, an array of 3 departments by using composition and an array of 4 students by using aggregation.Test them in main by creating a college that has college name and some number of majors, an array of departments, and an array of students.Use set and get functions to get info from clg

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

This question has not been answered.

Create a free account to get help with this and any other question!

Similar Content

Related Tags