Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Student.h
- #ifndef STUDENT_H
- #define STUDENT_H
- class Students
- {
- public:
- Students();
- void takeTest();
- void getVersion(int);
- void checkAnswers(const int a[100][2]);
- void checkGrade();
- void returnAnswers(int[100]);
- int getSN();
- void getCorrect(int pubAnswers[100]);
- int getGrade();
- void StudentWrite();
- void printGrades(int pubAnswers[]);
- void loadCorrect(int tempE);
- private:
- //Students answers to the test
- int answers[100];
- //Students test version
- int keyNumber;
- //The number of questions the student got right
- int totalCorrect[100];
- //Students Grade
- int grade;
- //Student Number
- int studentNumber;
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement