[Solved] When given a pair of ints, I need my code to be able to return the int that is closest to 21 without going over [closed]
Hi use this code. if(a<=21 && b<=21){ return Math.max(a, b); } This is a easy problem, try yourself next time. 1 solved When given a pair of ints, I need my code to be able to return the int that is closest to 21 without going over [closed]