Problem

Return true if exactly one of three booleans is true.

Examples

  • exactlyOneTrue(true, false, false) -> true
  • exactlyOneTrue(true, true, false) -> false
Compile and test (Ctrl+Enter)