Website Summary Files Commits Branches @commit @diff @stats
path: root / Week10 / Exercise01 / Student.h
diff options
context:
space:
mode:
1 files changed, 14 insertions, 0 deletions
-rw-r--r--Week10/Exercise01/Student.h14
diff --git a/Week10/Exercise01/Student.h b/Week10/Exercise01/Student.h
new file mode 100644
index 0000000..65b1872
--- /dev/null
+++ b/Week10/Exercise01/Student.h
@@ -0,0 +1,14 @@
+#ifndef _STUDENT
+#define _STUDENT
+
+#include "User.h"
+
+class Student : public User {
+ bool graduated;
+ unsigned yearEnrolled;
+
+public:
+ void Graduate();
+};
+
+#endif /* _STUDENT */