A. Write algorithms for the
• To input three sides of a triangle and print if it is scalene, isosceles or equilateral.​

By Cora

A. Write algorithms for the
• To input three sides of a triangle and print if it is scalene, isosceles or equilateral.​

About the author
Cora

2 thoughts on “A. Write algorithms for the <br />• To input three sides of a triangle and print if it is scalene, isosceles or equilateral.​”

  1. Answer:

    Algorithm. Step 1: Declare three sides of triangle. Step 2: Enter three sides at run time. Step 3: If side1 == side2 && side2 == side3 Go to step 6 Step 4: If side1 == side2 || side2 == side3 || side3 == side1 Go to Step 7 Step 5: Else Go to step 8 Step 6: Print the triangle is equilateral

    Reply

Leave a Comment