25 Mar 2012 by 2011999
Dear All,if two int values, return their sum. Unless the two values are the same, then return double their sum using jquery or javascriptsumDouble(1, 2) -> 3sumDouble(3, 2) -> 5sumDouble(2, 2) -> 8public int sumDouble(int a, int b) {if(a==b) return 2*(a+b);else return...