Solve: Lone Sum
Imported By: Geoffrey Challen
/ Version: 2021.7.0
Given three Int
values, return their sum.
However, if one of the values is the same as another of the values, it does not count towards the sum.
For this problem we're expecting only a method.
Don't define a class, include modifiers like static or public, add import statements, or add code outside the method declaration.fun loneSum(
first: Int,
second: Int,
third: Int,
): Int {
return 0
}