Monday, September 30, 2019

Area of triangle (function)

DECLARE FUNCTION AREA(A,B,C)
CLS
INPUT"ENTER FIRST NO";A
INPUT"ENTER SECOND NO";B
INPUT"ENTER THIRD NO";C
PRINT"AREA OF TRIANGLE";AREA(A,B,C)
END

FUNCTION AREA(A,B,C)
AREA=(S*(S-A)*(S-B*(S-C)^(1/2)
AREA=A
ENS FUNCTION

No comments:

Post a Comment

Experience of covid-19 and cancelling SEE exam

A dangers virus called corona also know as COVID-19 took place around the world. This virus was first found in Wuhan china.this virus start...