Problem

Return true if n is less than zero.

Examples

  • isNegative(-1) -> true
  • isNegative(0) -> false
Compile and test (Ctrl+Enter)