WAP to fond the area of triangle.
CLS
INPUT " Enter base " ; B
INPUT " Enter height " ; H
A = 1 / 2 * B * H
PRINT " Area of triangle " ; A
END
CLS
INPUT " Enter base " ; B
INPUT " Enter height " ; H
A = 1 / 2 * B * H
PRINT " Area of triangle " ; A
END
Comments
Post a Comment