Saturday, October 12, 2019

QBASIC to find Area of Triangle

ClS
INPUT "Enter base"; B
INPUT "Enter height"; H
A = 1/2*B*H
PRINT "Area of triangle="; A
END

No comments:

Post a Comment