Kotlinlearncs.online LogoJava
Return to List

Homework: Teen Sum

Imported By: learncs.online Staff
/ Version: 2021.6.0
/ Adapted from CodingBat

Given 2 ints, return their sum. However, values in the range 13..19 inclusive are extra lucky. So if either int is a teen, just return 19.