Computer Science, asked by newton2010, 1 month ago

write a program to enter 3 sides of a triangle and check whether it is a scalene triangle in QBASIC program​

Answers

Answered by ravikumar98765bgp
0

Explanation:

CLS

INPUT ” The sides of the triangle “, a, b, c

IF a = b AND a = c THEN

PRINT ” It is Equilateral”

ELSEIF a <> b AND a <> c THEN

PRINT ” It is Scalene”

ELSE

PRINT ” It is Isosceles”

END IF

END

Similar questions