Problem

Return true if at least two of the three ints are equal.

Examples

  • twoOfThreeEqual(1, 1, 2) -> true
  • twoOfThreeEqual(1, 2, 3) -> false
Compile and test (Ctrl+Enter)