Can someone please help me through this program. It is due tomorrow and i am so lost.
Below is the Assignment itself.
Write a program called FindGrade.java that will perform the following actions:
1. Read lines from a text file in the instructor’s directory named Grades.dat (../instr/Grades.dat) that contains integer grade data for seven students. Each line contains the student number followed by 13 grades for that student. The first ten integers will be program grades; the next two will be test grades; and the thirteenth grade will be the final exam grade. For example, student number 100 might have a line that looked like this:
100 0 20 30 40 55 59 65 80 90 100 95 100 88
This would indicate that student number 100 didn’t submit the first program, made unsatisfactory grades (< 60) on the next five programs, and made grades ranging from 65 to 100 on the last four programs; the student made A’s on the two tests and an 88 on the final exam.
2. Store each line’s data as a row in a 2-D array. Calculate and display the letter grade due each student based on the following rules:
a. The average program grade counts 25%; the first test counts 20%; the second test counts 25%, and the final exam counts 30%.
b. If a student doesn’t complete at least five programs with a grade of 60 or above, his numeric course grade must be lowered by ten points.
c. A calculated course grade should be rounded up to the next integer if its fractional part is > = 0.5 (e.g., 89.5 rounds to 90.0, but 89.4 rounds to 89.0).
d. A course grade of 90 or above is an A, 80 to 89 is a B, 70 to 79 is a C, 60 to 69 is a D, and below 60 is an F.
e. CALCULATION MUST BE DONE IN A METHOD THAT IS CALLED IN YOUR PROGRAM. THE METHOD SHOULD RECEIVE THE GRADES FOR ONE STUDENT (i.e., one row of the table) AND RETURN THE LETTER GRADE FOR THAT STUDENT.
3. Your program should be written so that changing one line of code will allow it to work for a different number of students.
4. All displays should be done in the main, not in called methods. All of your output should be user-friendly, free of spelling errors, and easy to interpret.
I am sooooo lost on how to do this. Any help would be great.