Problem

Return true if percent >= 20.

Examples

  • batteryOk(25) -> true
  • batteryOk(10) -> false
Compile and test (Ctrl+Enter)