X11: teenSum

Write a function in Java that implements the following logic: Given 2 ints, a and b, return their sum. However, "teen" values in the range 13..19 inclusive, are extra lucky. So if either value is a teen, just return 19.

Your Answer:

Feedback

Your feedback will appear here when you check your answer.