Friday, October 4, 2019

QBASIC PROGRAM TO FIND AREA OF TRIANGLE


Write a program to find the 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

E-Commerce

E-Commerce (Electronic Commerce) E-Commerce or Electronic Commerce means buying and selling of goods, products, or services over the interne...