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 varnothing
throw new IllegalArguementException;
egetGrade of problem
cannot find symbol: class IllegaArguementException
double x ;
if grade
return varnothingvarnothing;
else if grade
return ;
else if grade
for int i ; i grade; i
x ;
return x;
else
return ;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
