Problem

Return true if both x and y are 1–10 inclusive.

Examples

  • bothInRange(5, 6) -> true
  • bothInRange(0, 5) -> false
Compile and test (Ctrl+Enter)