1. Create an array to hold 5 grades
2. Prompt the user to enter 5 grades and store them in the array
3. Compute the sum and average of the grades into a sum variable
4. Compute the letter grade using a switch statement
5. Print a report of the 5 grades, the average grade, and the letter grade
Please note that this is not a homework site. We won't do your homework for you. The purpose of homework is that you learn by doing. However we are always willing to help solve problems you encountered, correct mistakes you made in your code and answer your questions.
We didn't see your attempts to solve this problem yourself and so we cannot correct mistakes you didn't made and answer questions you didn't ask. To get help you should do something yourself and get real problems with something. If your problem is "I don't understand a thing", then you should go back to basics and study again.
I can reveal that the step 3 has a logical flaw: storing both sum and average "into a sum variable" is not feasible. Options are:
1. The author did not notice
2. The author assumes that students can think
3. A copy-paste failure