COMP 110 Spring 2008

Lab 4

25 points

Assigned: Friday, February 15
Due: Friday, February 22 by 3:00pm

Description

Write a program to read in a list of UNC basketball scores (nonnegative integers!) and to output the following statistics:

Total number of games:
Total number of games scoring at least 90 points:
Percentage of games scoring at least 90 points:
Average game score:
Range of scores: lowest to highest

The end of the input is indicated by the user entering a negative sentinel value. Note that the sentinel value is not used in computing the highest, lowest or average game score.

Suggestions for starting the assignment

Additional Questions

Grading

How to hand in the assignment