| about | help | done | prefs | create account |
Java > Warmup-1 > makes10
prev | next | chance
| Given 2 ints, a and b, return true if one if them is 10 or if their sum is 10.
makes10(9, 10) → true makes10(9, 9) → false makes10(1, 9) → true ...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 118.0
Copyright Nick Parlante 2006-10 - privacy