| about | help | done | prefs | create account |
Java > Logic-1 > twoAsOne
prev | next | chance
| Given three ints, a b c, return true if it is possible to add two of the ints to get the third.
twoAsOne(1, 2, 3) → true twoAsOne(3, 1, 2) → true twoAsOne(3, 2, 2) → false ...Save, Compile, Run See also Java Example Code. Java help docs: If Boolean Logic | Strings | While and For Loops | Arrays and Loops |
Forget It! -- delete my code for this problem 136.0
Copyright Nick Parlante 2006-10 - privacy