CJCoding With Joseph

Triangle Type by Sides

Read three integers a, b, and c representing the side lengths of a triangle. Print its type:

- all three sides equal -> Equilateral
- exactly two sides equal -> Isosceles
- no sides equal -> Scalene

For example, given the input 5 5 5, the program prints:

Equilateral

Expected Output:

Equilateral
Topics:
If Statements
๐Ÿ“ฅ Auto-Input:
5 5 5
This input is automatically fed to your program's stdin
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cout, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.