boolean logic | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
- 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

29th Dec 2021, 3:19 PM
Atul Diwan
2 Antworten
+ 3
You accidentally posted this twice. Can you please undo the duplicate? Thanks ...
29th Dec 2021, 3:26 PM
Ipang
+ 2
Use the if statement: ... if ...>=40 and ...<=60: ... Do the rest
29th Dec 2021, 4:16 PM
NEZ
NEZ - avatar