posted 5 years ago
I am working on a project for a computer programming course, and this is the project I was given :
You must use arrays, for loops and methods to complete the project.
You are to write a program that will do the following:
- Asks the user how many records they would like to enter.
- Prompt the user for the name of the student.
- Prompt the user for the student's mark in....Math, English, Social Studies and Science.
- Continue till all the records have been inputted.
- Displays a table with the each student and their marks.
- Gives the class average in each subject.
- Gives the minimum and maximum mark in each subject.
- Gives the student’s overall average.
- Gives the Classes’ overall average.
Hints:
}
The issue i'm having is that this is new for me, so I have not used all of this data before. I am having trouble assigning the marks of the studnets. This is the code I used to put the students names into an array :
I am unsure of how to assign the values for each students mark to the students name. Just looking for the right idea, because once I know how to assign it for one student it is obviously pretty simple to repeat the process for the rest. Thanks!