Please forgive me ignorance, but I'm pulling my hair out...and I don't have much left.

The errors I'm getting are:

40: error: bad operand types for binary operator '/'

gradePoints = (earnedPoints / possiblePoints);

^

first type: int[]

second type: int[]

47: error: bad operand types for binary operator '<'

if (gradePoints < .60)

^

first type: double[]

second type: double

49: error: bad operand types for binary operator '>='

else if (gradePoints >= .60 && gradePoints < .70)

^

first type: double[]

second type: double

49: error: bad operand types for binary operator '<'

else if (gradePoints >= .60 && gradePoints < .70)

^

first type: double[]

second type: double

51: error: bad operand types for binary operator '>='

else if (gradePoints >= .70 && gradePoints < .80)

^

first type: double[]

second type: double

51: error: bad operand types for binary operator '<'

else if (gradePoints >= .70 && gradePoints < .80)

^

first type: double[]

second type: double

53: error: bad operand types for binary operator '>='

else if (gradePoints >= .80 && gradePoints < .90)

^

first type: double[]

second type: double

53: error: bad operand types for binary operator '<'

else if (gradePoints >= .80 && gradePoints < .90)

^

first type: double[]

second type: double

55: error: bad operand types for binary operator '>='

else if (gradePoints >= .90 && gradePoints <= 1.00)

^

first type: double[]

second type: double

55: error: bad operand types for binary operator '<='

else if (gradePoints >= .90 && gradePoints <= 1.00)

^

first type: double[]

second type: double

57: error: cannot return a value from method whose result type is void

return getLetterGrade;

^

67: error: method getLetterGrade in class JSHwScore cannot be applied to given types;

+ possiblePoints + " possible points: " + getLetterGrade(earnedPoints), possiblePoints);

^

required: double,double

found: int[]

reason: actual and formal argument lists differ in length

12 errors

Tool completed with exit code 1

------------------------

The

java code is:

-------------------------------

Any help you can give would be greatly appreciated.