Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //============================================================================
- // File Name : StudentCourses.h
- // Authors : You
- // Version : 1.0
- // Copyright : Your copyright notice (if applicable)
- // Description : C++ group project
- //============================================================================
- #ifndef _STUDENTCOURSES_H_
- #define _STUDENTCOURSES_H_
- #include "Student.h"
- #include "Courses.h"
- class StudentCourses
- {
- private:
- Student student;
- Courses courses;
- public:
- StudentCourses() {};
- StudentCourses(Student s, Courses c) { student = s; courses = c; };
- Student get_student() const { return student; }
- Courses get_course() const { return courses; }
- double get_final_score() const;
- void display() const;
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement