Educating Mind Without Educating Heart Is No Education At All
Monday, 4 November 2019
WAP that asks base and height of a triangle and calculate its area.
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment