Q. 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 angles=180 degrees
Enter the first angle:
Enter the second angle:
Enter the third angle:
The inputed angles are: