← Back to challenges

Is the Water Boiling?

JavaScriptHardstringsconditionsvalidation

Instructions

Create a function that determines if the temp of the water is considered boiling or not. temp will be measured in fahrenheit and celsius.

Examples

isBoiling("212F") ➞ true

isBoiling("100C") ➞ true

isBoiling("0F") ➞ false

Notes

The boiling point of water is 212F in fahrenheit and 100C in celsius.

javascript
Loading editor…
to run
Walks through the solution with reasoning and edge cases.
Next: Burglary Series (14): Adjectives Total