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
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