Help with Arrays!

Hello,

I've been trying to work out one of my last homework assignments for the past day, and don't seem to be getting anywhere. I'm confused to say the least...

Here is the problem:
A teacher has five students who have taken four 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
90-100 A
80-89 B
70-79 C
60-69 D
0-59 F
Write a program that uses an array of string objects to hold the five student names,an array of five characters to hold the five students' letter grades, and five arrays of four doubles to hold each student's set of test scores.

The program should allow the user to enter each student's name and his or her four test scores. It should then calculate and display each student's average test score and a letter grade based on the average.

Input Validation: Do not accept test scores less than 0 or greater than 100.


Any help would be appreciated.

Thank you.
Write a program that uses an array of string objects to hold the five student names,an array of five characters to hold the five students' letter grades, and five arrays of four doubles to hold each student's set of test scores


Do what it says here. Dont know how to create arrays? Google it. Once you've started on the program and need help with specific problems, I'll be happy to answer.

Break the program down in pieces, and start small. Start by creating the arrays, then take it step by step.
Last edited on
Topic archived. No new replies allowed.