Challenge 3: Is it Freezing?!
Write a function temperatureCheck () that takes in a specific temperature, in Fahrenheit, as an input. If the temperature is less than 32 degrees Fahrenheit, return ‘true’. Otherwise it should return ‘false’. Test with temperatures 56 degrees Fahrenheit and 23 degrees Fahrenheit.
Here is the input you should enter:
console.log(temperatureCheck(56))
console.log(temperatureCheck(23))
And here is the output you should get after you write proper code for this challenge:
false true