enum PetTypes {BIRD=0, CAT, DOG, GERBIL, GIRAFFE, MAX_PET_TYPES); int petTypeScores[MAX_PET_TYPES]; int i; int maxScore; int whichIsMax; for (i=0; i< MAX_PET_TYPES; i++){ petTypeScores[i] = 0; } //cout question, cout answers possibilies, cin user answer //answer C was the answer that suggested gerbil //if (userResponse == 'C'){ petTypeScores[GERBIL]++; } maxScore = petStypeScore[0]; whichIsMax = 0; for (i=0; i< MAX_PET_TYPES; i++){ if (petTypeScores[i] > maxScore){ maxScore = petTypeScores[i]; whichIsMax = i; } } if (whichIsMax == DOG){ cout << "you are clearly a dog person!,...\n"; }else if(whichIsMax == CAT)} }