Computer Science, asked by snlegend7777, 3 months ago

10 points Write a program to input 3 angles of a triangle and find whether triangle is possible or not. (note: triangle is possible if sum of 3 angles will be 180 degrees)​

Answers

Answered by ItzMrAlcohol
2

Answer:

triangle and find whether triangle is possible or not.

Explanation:

Answered by sssbeenuch75
0

Answer:

Logic to check triangle validity if angles are given

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 not.

Explanation:

please mark me brainlest

Similar questions