5 XP challenge
Either Check Can Pass
very easy
Build it yourself · 3 min
1 Learn2 Predict3 Solve
TaskYour mission
Return true when battery is below 20 OR temperature is above 50. battery is 0 to 100; temperature is 0 to 100.
Examples
| Input | Return |
|---|---|
battery = 19, temperature = 30 | true |
battery = 50, temperature = 51 | true |
Your code
Write your answer inside Solution, then use return to send it back.
Ln 1, Col 1
JavaScript
Try examples runs the public examples. Check my code checks your full answer and saves your completion.