X1: sortaSum

Write a function in Java that implements the following logic: Given 2 ints, a and b, return their sum. However, sums in the range 10..19 inclusive, are forbidden, so in that case just return 20.

Your Answer:

Feedback

Your feedback will appear here when you check your answer.