Help with array for "students avg test scores."
Java is still kind of Greek to me and I just need help with my assignment. I'm having a little difficulty starting. I know I need to use a for loop but I don't know how much arrays I would need. Below is the problem that I have to code. Thanks in advance for all the help.
From the book: ďA teacher has 5 students who have taken 4 tests. The teacher uses the following grading scale to assign a letter grade to a student, based on the average of his or her four test scores:
Test score Letter grade
Demonstrate the class in a program that allows the user to enter each studentís name and his/her 4 test scores (or read them from a file). It should then display each studentís average test score and letter grade.
Do not accept test scores less than 0 or greater than 100.Ē
Re: Help with array for "students avg test scores."
You need to learn enough to be able to get started, and that can't be obtained from a forum such as this but rather from self-study of your texts or a tutorial (such as this one). We do better answering specific questions, and I invite you to come on back if you after your study and your attempt you have any.