## Need some help with the coding on For Loops..URGENT

Hey there,

Im a kind of lost with this question and i need some1 to help me go thru the coding..It is not homework i just need to have an full idea on how it is written.Would really appreciate if some1 wrote me the codes along with a simple explanation if possible. I'm having a hard time doing it.. The question is as follows:

A program that uses a for loop to frst take in names and total grades of 5 students.

Your output should look like this:
What is the name of student 1 = ______
Total Mark? ____
The program computes the average of all the total marks and prints out (on screen) the following output.

What is the name of student 1 = Peter
Total Mark? 100
What is the name of student 2 = John
Total Mark? 80
What is the name of student 3 = William
Total Mark? 10
What is the name of student 4 = Kim
Total Mark? 12
What is the name of student 5 = Linda
Total Mark? 0
-------------------------------------------
Peter 100 A
John 90 B
William 10 F
Kim 12 F
Linda 0 F

Average of the class is: 42.4

Thanx, hope its clear enough for u guyz...