Answers for "Given three ints, a b c, return true if it is possible to add two of the ints to get the third."

0

Given three ints, a b c, return true if it is possible to add two of the ints to get the third.

public boolean twoAsOne(int a, int b, int c) {if (a+b==c||b+c==a||a+c==b)return true;return false;}
Posted by: Guest on May-09-2021

Code answers related to "Given three ints, a b c, return true if it is possible to add two of the ints to get the third."

Code answers related to "TypeScript"

Browse Popular Code Answers by Language