plduhoux
2/24/2018 - 3:25 PM

addTwoDigits

int addTwoDigits(int n) {
    return n % 10 + n / 10 % 10;
}