#include using namespace std; #ifndef STUDENT_H #define STUDENT_H class student { public: student(); student(string, int, int[]); void readStudent(); void readStudent(ifstream&); void assignGrade(); void calcAverage(); void writeStudent(); string getName(); int getId(); char getGrade(); void getAllScores(int[]); int getScore(int index); float getAverage(); bool lessThan(student); private: enum {NUM_EXAMS = 4}; string name; int id; char grade; int scores[NUM_EXAMS]; float average; }; #endif