Write a conditional that assigns true to the variable fever if the variable temperature is greater than 98.6 .

1
Write a conditional  that assigns  true  to the variable  fever if the variable  temperature is greater than  98.6 .

LANGUAGE: C++

CHALLENGE:

Write a conditional that assigns true to the variable fever if the variable temperature is greater than 98.6.

SOLUTION:


if(temperature > 98.6){
    fever = true;
}

One comment

Add comment