#include "person.h" /** * Definition of a Student * a Student is a Person that is registered in a level of Education */ class Student : public Person { protected: // name of the level string level; public: /** * constructor * @param n name of student * @param a age of the student * @param l level */ Student(string n, int a, string l) : Person(n, a), level(l) { } /** * getter for level * @return level of the student */ string get_level() { return level; } /** * set level of student * @param l level */ void set_level(string l) { level = l; } };