Advertisement
Guest User

Untitled

a guest
Dec 13th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. //============================================================================
  2. // File Name : StudentCourses.h
  3. // Authors : You
  4. // Version : 1.0
  5. // Copyright : Your copyright notice (if applicable)
  6. // Description : C++ group project
  7. //============================================================================
  8.  
  9.  
  10. #ifndef _STUDENTCOURSES_H_
  11. #define _STUDENTCOURSES_H_
  12.  
  13. #include "Student.h"
  14. #include "Courses.h"
  15.  
  16. class StudentCourses
  17. {
  18. private:
  19.  
  20. Student student;
  21. Courses courses;
  22.  
  23. public:
  24. StudentCourses() {};
  25. StudentCourses(Student s, Courses c) { student = s; courses = c; };
  26. Student get_student() const { return student; }
  27. Courses get_course() const { return courses; }
  28.  
  29. double get_final_score() const;
  30. void display() const;
  31.  
  32. };
  33.  
  34. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement