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