Computer Science, asked by r12gorai, 1 day ago

6. Take 3 sides of a triangle from the user, check if it is a isosceles or scalene
or equilateral triangle. Print its area accordingly.
Draw a flowchart for the above situation.

Answers

Answered by Vivannlad277
0

Answer:

Algorithm

Explanation:

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
Math, 8 months ago