← Problem book: C
Lesson 32 of 96 · 15 XP
What kind of triangle
Theory and problem statement
Machine translation, not yet reviewed by a native speaker.
You are given three side lengths — positive integers. Print one word:
impossible — if the triangle does not exist, equilateral — if all sides are equal,
isosceles — if exactly two sides are equal, scalene — if all sides are different.
Example
Input:
3 3 3
Output:
equilateral
Sign up for free to solve this task right in your browser: code editor, running, test checks and hints.