9.Write A Programme to accept three angles of a triangle and check the triangle is valid oe not.The triangle is valid if the total of three angles=180 degrees.

Enter the first side of a triangle:

Enter the second side of a triangle:

Enter the third side of a triangle:

Triangle is: