C#: Check whether a triangle is Equilateral, Isosceles or Scalene
Write a C# Sharp program to check whether a triangle is Equilateral, Isosceles or Scalene.

Sample Solution:-
C# Sharp Code:
Sample Output:
Check whether a triangle is Equilateral, Isosceles or Scalene: ---------------------------------------------------------------- Input side 1 of triangle: 40 Input side 2 of triangle: 20 Input side 3 of triangle: 20 This is an isosceles triangle.
Flowchart:

C# Sharp Code Editor:
Contribute your code and comments through Disqus.
Previous: Write a C# Sharp program to read temperature in centigrade and display suitable message according to temperature.
Next: Write a C# Sharp program to check whether a triangle can be formed by the given value for the angles.
What is the difficulty level of this exercise?
Test your Programming skills with w3resource's quiz.