- 1
boolean logic
The comfortable relative humidity for humans is between 40% and 60%. The given program takes the percent of humidity as input. Task Complete the code to output "norm" if the taken percent of humidity is in the range of 40 and 60 inclusive. Don't output anything otherwise. Sample Input 45 Sample Output norm
2 odpowiedzi
+ 3
You accidentally posted this twice. Can you please undo the duplicate?
Thanks ...
+ 2
Use the if statement:
...
if ...>=40 and ...<=60:
...
Do the rest