Solve programming problems in Javascript or TypeScript!
previous ~ next ~ JS Syntax HelpWarmup-1
--icyHot
Given two temperatures, return true if one is less than 0 and the other is greater than 100.
Examples
- icyHot(120, -1) → true
- icyHot(-1, 120) → true
- icyHot(2, 120) → false
(ctrl-enter)
xxxxxxxxxx
1
function icyHot(temp1, temp2){
2
3
}