consolidate all repos to one for archive
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
|
||||
#ifndef EXAMPLE24_STUDENTASSISTANT_H
|
||||
#define EXAMPLE24_STUDENTASSISTANT_H
|
||||
|
||||
#include <iostream>
|
||||
|
||||
class StudentAssistant : public Assistant, public Student {
|
||||
public:
|
||||
StudentAssistant(std::string n, std::string f1, double g, std::string f2, std::string s) :
|
||||
Assistant(n, f2, s), Student(n, f1, g) {
|
||||
}
|
||||
virtual ~StudentAssistant() {
|
||||
}
|
||||
void print() const {
|
||||
std::cout << "Student-Assistant: " << Student::name << " " << Student::faculty << " "
|
||||
<< avgGrade << " " << Assistant::faculty << " " << subject << std::endl;
|
||||
}
|
||||
};
|
||||
#endif //EXAMPLE24_STUDENTASSISTANT_H
|
||||
Reference in New Issue
Block a user