// Arup Guha
// 9/21/2011
// Written in COP 3223 to illustate the continue statement.
#include <stdio.h>

int main() {


    int sum = 0, score;
    int numscores = 0;

    // Get 10 scores.
    while (numscores < 10) {

        printf("Enter the next score\n");
        scanf("%d", &score);

        // Screen out scores greater than 95 and less than 0.
        if (score > 95 || score < 0)
            continue;

        // Update information for valid scores only.
        sum += score;
        numscores++;
    }

    // Print out the average.
    printf("Average of the scores is %lf\n", (double)sum/numscores);

    return 0;
}
