You can simplify your code greatly, amdand make it more general-purpose, by using an array for the scores, rather than individual variables. So change e.g.
double scores, avgValue, judge1, judge2, judge3, judge4, judge5;
to
double scores[5], avgValue;
and use a loop to read in the five scores.
You'll also want to change functions such as calcScore so that they take an array rather than separate scores, e.g.
double calcScore(double scores[], int num_scores)
{
// ...
}