Kotlinlearncs.online LogoJava
Return to List

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.

int loneSum(int first, int second, int third) {
return 0; // You may need to remove this starter code
}

Related Lessons

Stuck? You may find these lessons helpful: