Is This a Triangle?


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).

Create a method called isTriangle?(a,b,c) that accepts three parameters.

def is_triangle?(a,b,c) end
< >