Advertisement
Guest User

Exam Head

a guest
Nov 2nd, 2011
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.52 KB | None | 0 0
  1. //Exam.h
  2. #ifndef EXAM_H
  3. #define EXAM_H
  4.  
  5. class Exam
  6. {
  7. public:
  8.         void getKey(int[100][2]);
  9.         int setTests(int[100][2]);
  10.         void writeExam(int);
  11.         void findCorrect(int pubAnswers[100]);
  12.         void correctSec(int pubAnswers[100]);
  13.         void printReport();
  14.         void WriteResults(int a);
  15.         Exam();
  16. private:
  17.         //Key for the Exam
  18.         int key[100][2];
  19.         //Number of correct answers
  20.         int correctOver;
  21.         //Number right per Section
  22.         int rightPerSec[2][4];
  23.        
  24.  
  25. };
  26.  
  27. #endif
  28.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement