X interview question

write function to see if three side lengths can form a triangle