Computer Science, asked by Sidhartharao, 2 days ago

Accept three sides of a triangle. Find whether the triangle is possible or not.
If possible find the type of it( Isosceles/Equilateral/Scalene/Right angle).

Answers

Answered by Prettyboy1231
8

Answer:

Step 1: Start

Step 2: Read three sides of triangle and store them in a, b, c.

Step 3: Check if a == b and b == c

Step 4: If true, print "Equilateral Triangle" and goto step 8

Step 5: Check if a == b or b == c or c == a

Step 6: If true, print "Isosceles Triangle" and goto step 8

Step 7: Print "Scalene Triangle"

Step 8: Stop

Similar questions