#ifndef _INCLUDE_STUDENTC_H_ #define _INCLUDE_STUDENTC_H_ #include "studentA.h" #include "studentB.h" class StudentC : public StudentA, public StudentB { public: StudentC() : StudentA(), StudentB("", 0, 0, 0) { SetKadai4(0); } StudentC(const char* name, int k1, int k2, int k3, int k4) : Student(name, k1, k2), StudentA("", 0, 0, k3), StudentB("", 0, 0, k4) { } int GetSum(); void CalcAve(); }; #endif