Java is the future !: icyHot

Monday, October 11, 2010

icyHot

Given two temperatures, return true if one is less than 0 and the other is greater than 100.

icyHot(100, -1) → true
icyHot(-1, 120) → true
icyHot(2, 120) → false

Solution :

No comments:

Post a Comment