Write an if/else statement that assigns true to the variable fever if the variable temperature is greater than 98.6; otherwise it assigns false to fever.
.
.
Click on the title for the solution
.
.
if (temperature>98.6) fever=true;
else fever=false;
.
Click on the title for the solution
.
.
This is the answer:
:
if (temperature>98.6) fever=true;
else fever=false;
Comments
Post a Comment