Computer Science, asked by saraswathiammavaru, 1 month ago

Write An Algorithm To Find Perimeter of Triangle? ​

Answers

Answered by armaanmnair
2

Answer:

To calculate the perimeter of a triangle, add the length of its sides. For example, if a triangle has sides a, b, and c, then the perimeter of that triangle will be P = a + b + c.

Answered by adventureisland
9

The perimeter of a triangle is found by summing the lengths of the triangle's three sides.

Algorithm To Find Perimeter of Triangle :

Step 1: Start

Step 2: Step 1: Begin by calculating the perimeter of a triangle.

Step 2: Determine the integer values for the triangle sides a,b, and c.

Step 3: Combine the values of the three sides.

Step 4: Create a P variable to store the value that was found.

Step 5: P= a+b+c

Step 6: Print perimeter(P) of the triangle

Step 7: Stop

Similar questions