Write an if/else statement that assigns true to the variable fever is the variable temperature is greater than 98.6; otherwise it assigns false to fever.

LANGUAGE: Visual Basic

CHALLENGE:

Write an if/else statement that assigns true to the variable fever is the variable temperature is greater than 98.6; otherwise it assigns false to fever.

SOLUTION:

If (temperature > 98.6) Then
    fever = true
Else
    fever = false
End If