Activity: Lengths of three sides of a triangle A, B, C are given as input. The following flowchart finds if the triangle is isosceles, equilateral, or scalene. Some boxes in the flowchart are filled in for you, fill in the rest of the details. Hint: In an equilateral triangle three sides are equal. In an isosceles triangle two sides are equal. In a scalene triangle all three sides are not equal.
Answers
Answered by
0
Answer:
idk sorrry ?!?!?!??...
Answered by
3
Explanation:
Step 1: Start
Step 2: Read three sides of a 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 go to step 8
Step 7: Print "Scalene Triangle"
Step 8: Stop
Similar questions