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
2
Answer:
triangle and find whether triangle is possible or not.
Explanation:
Answered by
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