In a fruit-eating contest, there are 6 judges. Each judge gives a score out of 10 such as 7.5. The lowest
score is discarded and the remaining scores averaged to determine the final score. If the average if 9.0 or
above, the participant gets a golden raspberry.
Write a program that calculates and reports score as follows:

so far i have...

Code:
#include <stdio.h>

int calcScore(void) {
   const int judges = 6;
   float score[judges-1], avg = 0, sum = 0;
   static int compNo = 1;
   int i;
   printf("Enter %i scores for competitor #%i: ", judges, compNo);
   for(i=-1; i<judges-1; i++) {
      scanf("%f", &score[i]);
      sum += score[i];
      //printf("%.1f\n", sum);       // debugging line
   }
   printf("\n");
   avg = sum / judges;
   printf("Result for %i: %.1f\n", compNo, avg);

   if(avg >= 9.0){
      printf("You win a golden raspberry!\n");
   }
   printf("Another score? 1-yes, 0-no: ");
   compNo += 1;
   return 0;
}

int main(void) {
   const int YES = 1;
   static int answer = 0;
   calcScore();
   //printf("calcScore ending...\n");  //debugging line
   scanf("%i", &answer);

    while(answer==0) {
         calcScore(); 
         scanf("%i", &answer);
      }
return 0;
}

any help would be greatly appreciated. i'm having trouble figuring in where to put the drop lowest score and what not.