I need some homework help with an assignment due wed. I need to make a program where in this program calculates the average of a set of test scores.
The program will ask the user how many scores there will be.
The user will be prompted to enter score 1, score 2, etc.
After the scores are entered the computer will print the total number of points, the average score, and the number of scores. The program will ask the user if he/she wants to go again. If so, the program will start over with a new screen.
If the user enters a negative number for the number of scores the computer should aks the user to reenter the number of scores until a positive number of scores (or zero) is entered.
If the user enters zero for the number of scores the computer should say that the sum, average, and number of scores is zero.
The scores will all be integers, and may be positive, negative or zero.
The average may have a decimal part
i must use for loop, ++, and +=.
I have a good idea what to do but i still need some help with the whole thing. I would display the code that i have now, but the file is at school...please help!