CSC 160 - Computer Programming for Non-majors

Dr. R. M. Siegfried

Assignment #10 - Helping the Bowling League

Due Tuesday, November 2, 2015

The Strike-Em-Down Bowling League needs a program to help their teams figure out their players' averages:

Your program will read in a series of bowling scores; you indicate that you have finished entering scores by entering a negative number as a score. If he bowled a 300 game, print a special message to congratulate him or her for each such game. If his or her average is over 200, print a different special message of congratulations.

You will keep entering scores until the user enters a negative score; that's when you know you are ready to calculate the average and print the congratulatory message if their average justifies it.

[Back to the Assignments Index]