Computer Science, asked by Rudranil420, 9 months ago

Write a program in C++ to input any three angles and to print whether a triangle is possible with those angles or not.​

Answers

Answered by Anonymous
1

Input all three angles of triangle in some variable say angle1 , angle2 and angle3 . ... Check if(sum == 180) then, triangle can be formed otherwise not. In addition, make sure angles are greater than 0 i.e. check condition for angles if(angle1 > 0 && angle2 > 0 && angle3 > 0) .

Answered by Anonymous
0

Please mark as brainliest and follow me I had also followed you

Similar questions