Triangle Type
Difficulty: Medium
Phase: 1 · Conditional Thinking
XP Reward: 20 XP
Topics: Conditional Thinking, Medium
Supported Languages: Python, JavaScript, C, C++, Java
Problem Description
If three sides form a valid triangle, print 'Equilateral', 'Isosceles', or 'Scalene'. If invalid, print 'Invalid'. Input Format: Read input from standard input (stdin). Output Format: Print the result to standard output (stdout).
Constraints
- -10^9 <= N <= 10^9
Examples
Example 1
Input: 3 3 3
Output: Equilateral
Explanation: Sample execution for input 3 3 3