STEP 1: Initialize side1, side2, side3 by 0 and sq_side1, sq_side2, sq_side3 by 0
STEP 2: Print 'Enter the three sides'
STEP 3: Read value in side1, side 2, side3
STEP 4: Perform square operation on three sides:
(a)Perform multiplication of side1 with itself and assign the result in sq_side1
(b)Perform multiplication of side2 with itself and assign the result in sq_side2
(c)Perform multiplication of side3 with itself and assign the result in sq_side3
STEP 5: Check;
(a)if (sq_side1 is equal to sum of sq_side2 and sq_side3)
Then
i)Move to Step 6(i)
(b)otherwise check;
1)if (sq_side2 is equal to sum of sq_side1 and sq_side3)
Then
i)Move to Step 6(i)
(c)otherwise check 1)
if (sq_side3 is equal to sum of sq_side1 and sq_side2)
then
i)Move to Step 6(i)
(d) otherwise1)Move to Step 6(iii)
STEP 6:i)Print 'Yes it's a right angle triangle'
ii) Move to Step 7
iii)Print 'No it is not a right angle triangle'
STEP 7: Stop
Hope u'll get some help with this..
A right triangle is a triangle with a right angle.a right triangle is a triangle with 1 side as a right angle
A right angle triangle
It is a right triangle or right-angled triangle. The right-angle is 90 degrees.
Yes it is a right angle triangle.
no its not the scalene triangle will never be a right triangle
If a triangle has a right angle, it is a right triangle.
A right triangle is a triangle with a right angle.a right triangle is a triangle with 1 side as a right angle
1. A triangle is a right triangle if and only if it has a right angle. 2. A triangle has a right angle if and only if it is a right triangle.
a right triangle has one right angleA triangle with a right angle is a right triangle.
A triangle with 1 right angle is a right angle triangle.
A right angle triangle
It is a right triangle or right-angled triangle. The right-angle is 90 degrees.
yes it is it is a triangle with a right angle in it
A right triangle and an isosceles triangle have the fact that they are both triangles in common. A right triangle can also be an isosceles triangle.
Yes it is a right angle triangle.
no its not the scalene triangle will never be a right triangle
no its not the scalene triangle will never be a right triangle