Problem

Return "teen" if age is 12–17 inclusive, otherwise "adult".

Examples

  • teenOrAdult(15) -> "teen"
  • teenOrAdult(20) -> "adult"
  • teenOrAdult(12) -> "teen"
Compile and test (Ctrl+Enter)