+ 1

Please solve this guys

Create class PrintDiff with a method public class computeDiff(into firstNo, SecondNo) calculate the difference in the values of first parameter and second parameter (firstNumber - secondNumber) if the value of the difference is between -25 and 25 , double tube value and print it, else print the difference as it is ???

22nd Aug 2018, 3:53 AM
Sai Chandh Pasupuleti
Sai Chandh Pasupuleti - avatar
2 Answers
22nd Aug 2018, 4:24 AM
Eduardo Petry
Eduardo Petry - avatar
+ 2
thank you so much
22nd Aug 2018, 4:34 AM
Sai Chandh Pasupuleti
Sai Chandh Pasupuleti - avatar