10. WAP to accept three angles of a triangle and check the triangle is valid or not. The triangle is valid if the total of three angle = 180 degrees.
Enter First Angle: |
|
---|---|
Enter Second Angle: |
|
Enter Third Angle: |
|
Result: |