write a program in QBASIC to accept three angles of a triangle. The program will check whether the triangle is possible or not.
please help me guys please
Answers
Answered by
25
Answer:
Explanation:
CLS
INPUT "ENTER ANGLE 1 OF THE TRIANGLE";A
INPUT"ENTER ANGLE 2 OF THE TRIANGLE";B
INPUT"ENTER ANGLE 3 OF THE TRIANGLE";C
D = A+B+C
IF D<180
PRINT"TRIANGLE IS POSSIBLE"
ELSE
PRINT"TRIANGLE IS NOT POSSIBLE"
END IF
END
Answered by
5
Answer:
hope it helps you.. ..b.
Attachments:
Similar questions