Computer Science, asked by shamik2683, 10 months ago

draw a flowchart and write a program in qbasic to accept three angles of a triangle. the program will check whether the triangle is possible or not​

Answers

Answered by samarthkrv
3

Answer:

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

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

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

if(a+b+c == 180):

   print("The triangle can be formed")

else:

   print("The triangle cannot be formed")

Explanation:

Similar questions