Computer Science, asked by omm1980, 11 months ago

Draw a flowchart to input three sides of a triangle and check whether the
triangle can be formed or not. If possible, check whether it is an 'Equilateral
Triangle', 'Isosceles Triangle' or a 'Scalene Triangle'.​

Answers

Answered by pruthaasl
2

Answer:

Step 1: Start the program.

Step 2: Take three sides as input.

Step 3: Check if the sum of any two sides is equal to the third side.

Step 4: If false, a triangle cannot be formed, and stop the program.

Step 5: If true, check if all the three sides are equal.

Step 6: If yes, the triangle is an equilateral triangle.

Step 7: If no, check whether any two of the three sides are equal.

Step 8: If yes, the triangle is an isosceles triangle.

Step 9: If no, the triangle is a scalene triangle.

Step 10: End the program.

#SPJ3

Attachments:
Similar questions