Pergunta de entrevista da empresa Microsoft

Given three integers as input, write a function that tells whether it is equilateral, isosceles, or right triangle. if it is not a triangle, it should say so as well.