X20: loneSum

Write a function in Java that implements the following logic: Given 3 int values, a, b, and c, return their sum. However, if one of the values is the same as another of the values, it does not count towards the sum.

Your Answer:

Reset

Feedback

Your feedback will appear here when you check your answer.