0 of 8 problems solved • 0%
Use in a course

Exercise prompt

Compare Number Sizes

Comparison operators ask how two numbers are ordered. >= means “greater than or equal to.”

Example

const height = 140; const minimumHeight = 130; console.log(height >= minimumHeight);

This displays true.

Your task

Complete isWarmEnough by checking whether temperature is at least minimumTemperature. The console should display Warm enough: false.

Hint

Check what happens exactly at the minimum temperature.