Kotlinlearncs.online LogoJava
Return to List

Solve: Two As One

Imported By: Geoffrey Challen
/ Version: 2021.6.0

Given three Ints return true if it is possible to add two of the them to equal the third.

fun twoAsOne(
first: Int,
second: Int,
third: Int,
): Boolean {
return false // You may need to remove this starter code

Related Lessons

Stuck? You may find these lessons helpful: