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:
During compilation time, your compiler cannot find the parallel else condition of (a>b) that is => if(a<=b)
what it will return if your input matches this block? So you should provide this