👤

public int mystery(double y) {
double result = 3 + y / 10;
if( result > 10 ) {

return result;
} else {
return 0;
}
}

Which of the following calls, when run from the same class, would return 0?
1. mystery (40.0)
2. mystery (40)
3 mystery(400.0)

Answer :

Go Teaching: Other Questions