Advertisement
Guest User

Untitled

a guest
Nov 2nd, 2011
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.72 KB | None | 0 0
  1. //Student.h
  2. #ifndef STUDENT_H
  3. #define STUDENT_H
  4. class Students
  5. {
  6. public:
  7.         Students();
  8.         void takeTest();
  9.         void getVersion(int);
  10.         void checkAnswers(const int a[100][2]);
  11.         void checkGrade();
  12.         void returnAnswers(int[100]);
  13.         int getSN();
  14.         void getCorrect(int pubAnswers[100]);
  15.         int getGrade();
  16.         void StudentWrite();
  17.         void printGrades(int pubAnswers[]);
  18.         void loadCorrect(int tempE);
  19. private:
  20. //Students answers to the test
  21.         int answers[100];
  22. //Students test version
  23.         int keyNumber;
  24. //The number of questions the student got right
  25.         int totalCorrect[100];
  26. //Students Grade
  27.         int grade;
  28. //Student Number
  29.         int studentNumber;
  30.  
  31. };
  32.  
  33. #endif
  34.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement