In the last line of this method I am getting a missing return statement error, and I cannot figure out why. Any ideas?
public static int parameter(int g){
Scanner console=new Scanner(System.in);
String hint=console.next();
if(hint.equals("low")){
g=(g/2)+g;
return g;
}else if(hint.equals("high")){
g=(g/2);
return g;
}else if(hint.equals("correct")){
g=g;
return g;
}
}