CodingBat roundSum Solution April 05, 2017 Get link Facebook X Pinterest Email Other Apps public int roundSum(int a, int b, int c) { return r(a)+r(b)+r(c);}public int r(int n){ if(n%10>4) return 10*(n/10+1); else return 10*(n/10);} Comments
Comments
Post a Comment