Computer Science, asked by baidyaanushree12324, 5 hours ago

3. 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 ayushyadav8726
2

Explanation:

Input "FIRST ANGLE"; A

Input "SECOND ANGLE"; B

Input "THRID ANGLE"; C

Let SUM = A + B + C

If SUM = 180 Then Print "TRIANGLE IS POSSIBLE" Else Print "TRIANGLE IS NOT POSSIBLE"

End

output

FIRST ANGLE? 40

SECOND ANGLE? 80

THIRD ANGLE? 30

TRIANGLE IS NOT POSSIBLE

Attachments:
Similar questions