Question: Does anyone know how to fix this error. I've tried typing it in many different ways. public static double getGrade ( int grade ) {

Does anyone know how to fix this error. I've tried typing it in many different ways.
public static double getGrade (int grade){
if (grade \varnothing || grade >10\varnothing){
throw new IllegalArguementException();
e15-getGrade 1 of 1 problem
cannot find symbol: class Illega|ArguementException
}
double x =.8;
if (grade 6)
return \varnothing.\varnothing;
else if (grade =62)
return .7;
else if (grade =94){
for (int i =63; i grade; i ++)
x +=.1;
return x;
}
else
return 4.0;
}
19
20
21
22
Does anyone know how to fix this error. I've

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!