Computer Science, asked by subhashreepatra808, 5 hours ago

WAP TO INPUT ALL SIDES OF A TRIANGLE AND WHETHER A TRIANGLE IS VALID OR NOT​

Answers

Answered by singhabhayranjan101
0

Answer:

Explanation:Write ac program to input all sides of a triangle and check whether triangle is valid or not

Input all three angles of triangle in some variable say angle1 , angle2 and angle3 . Find sum of all three angles, store sum in some variable say sum = angle1 + angle2 + angle3 . Check if(sum == 180) then, triangle can be formed otherwise

Similar questions