Q9. Write a program 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 the first angle:
  • Enter the second angle:
  • Enter the third angle:
  • The Triangle is: