For an output just sub your last line of code with this one:
System.out.print(new Return().decide(5,10,15));
0
solved how to write a code for return an integer value in java with various cases like if condition
For an output just sub your last line of code with this one:
System.out.print(new Return().decide(5,10,15));
0
solved how to write a code for return an integer value in java with various cases like if condition