Need help with calculate the class average.

Hi everyone.
So I need help with a loop problem. I've tried it about 4 times and have no idea what to do. The problem is:

Write a program that prompts the user for the number of assignments in a specific class. Then using a for loop, prompt for each score. Use an accumulator to store the sum of the assignments, and then calculate the average score.

Thank you for any help in advance!!
Topic archived. No new replies allowed.