โ Back to If Statements
Question 338
Fever Check (No Input)
Fever Check (No Input)
Create adoublevariabletemperatureset to38.5(body temperature in Celsius). Iftemperature >= 38.0, printYou have a fever. The expected output is: You have a fever
Expected Output:
You have a fever
Topics:
If Statements
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (sysout, psvm, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.