Kotlinlearncs.online LogoJava
Return to List

Solve: Sum Double

Imported By: Geoffrey Challen
/ Version: 2021.4.0

Given two int values, return their sum. Unless the two values are the same, then return double their sum.

int sumDouble(int first, int second) {
return 0; // You may need to remove this starter code

Related Lessons

Stuck? You may find these lessons helpful: