#ifndef SECTION_CPP
#define SECTION_CPP
#include "section.cpp"
#endif

class AnswerKey
{
public:
 	int getNumberOfSections (){return numberOfSections;}
   int getNumberOfFiveAnswers (int sectionNumber) {return numberOfFiveAnswers[sectionNumber];}
   int getNumberOfFourAnswers (int sectionNumber) {return numberOfFourAnswers[sectionNumber];}
   int getNumberOfGridIns (int sectionNumber) {return numberOfGridIns[sectionNumber];}
   AnswerKey (int code); //accessses memoryto retrieve answer key
   AnswerKey (); //creates answer key then sends it to memory
   float getAnswerXInSectionY(int questionNumber, int sectionNumber);
	//function that takes studentScore array and computes scaled score, returns Score object
private:
   int numberOfFiveAnswers[];
   int numberOfFourAnswers[];
   int numberOfGridIns[];
   int numberOfSections;
   Section presentAnswerSection[7];
};

float AnswerKey::getAnswerXInSectionY(int questionNumber, int sectionNumber)
   	{return presentAnswerSection[sectionNumber].getAnswer(questionNumber);}


AnswerKey::AnswerKey (int code)
{
 	// 7/T 4/X M/S 25/A 0/A 0/A 1/Q 2/Q 2/Q...
   // 7 sections, section 4 is experimental, section 1 is Math, 25 5's, 0 4's, 0 GI's,
   //	Question 1 has value 1, question 2 has value 2, question 3 has value 2
}

AnswerKey::AnswerKey ()
{
 	/*what is new test code?
   how many sections?
   which is experimental (0 for none)
   for loop
	   is Section x math / verbal ?
      how many 5's, 4's, GI's?   //if Verbal shouldn't ask for 4's or GI's
      for loop
	      Enter answer for Question[y]...

   */
	for(int y=0; y<7; y++)
	{
   	presentAnswerSection[y] = Section(5, 4, 0);
   }
}
1