C++ program to check whether a triangle can be formed by the given value for the angles.
belongs to collection: all conditional programs in c++ language
All Answers
total answers (1)
belongs to collection: all conditional programs in c++ language
total answers (1)
I have used DEV-C++ compiler for debugging purpose. But you can use any C programming language compiler as per your availability.
Result:
Input three angles of triangle : 70
70
40
It is a valid triangle.
need an explanation for this answer? contact us directly to get an explanation for this answer