I\'m very new to Java. Eclipse is giving me the error
The method must return a result of type int
for the following code:
For your second error, the logic seems to be off a little... there is no return statement in the case where b > a.