Problem: Implement a method that accepts 3 integer values a, b, c. The method should return true if a triangle can be built with the sides of given length and false in any other case.
(In this case, all triangles must have surface greater than 0 to be accepted).
Solution: To be able to figure out if something is a triangle given 3 sides is that if any two sides added together and their sum is greater then the remainding side then it is a triangle.
So..
function isTriangle(a,b,c){ if(a + b > c && a + c > b && b + c > a){ return true } else{ return false; } }