Computer Science, asked by Aashu3869, 10 months ago

Write lue a program to accept three angles of A triangle and check whether the triangle is possible or not and display the message accordingly

Answers

Answered by Swetha03K
4

a=int(input("Enter angle 1:"))

b=int(input("Enter angle 2:"))

c=int(input("Enter angle 3:"))

if a+b+c=180:

        print("The given angles form a triangle")

else:

       print("The given angles doesn't form a triangle")

Similar questions