C++ Programming Sample

Computer Science
Price: $20 USD

Question description

First create a student class that contains the name and student ID, set and get functions. Then create a department class that contains name of department (for example computer science or electric engineering) and set and get functions. 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 information from the college.

Tutor Answer

(Top Tutor) Daniel C.
School: UIUC
Studypool has helped 1,244,100 students
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1829 tutors are online

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors