โ Back to If Statements
Question 387
Triangle Type by Sides
Triangle Type by Sides
Read three integersa,b, andcrepresenting the side lengths of a triangle. Print its type: - all three sides equal ->Equilateral- exactly two sides equal ->Isosceles- no sides equal ->ScaleneFor example, given the input5 5 5, the program prints: Equilateral
Expected Output:
Equilateral
Topics:
If Statements
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.