DECLARE FUNCTION DISTANCE ( U, A, T )
CLS
INPUT "Enter initial velocity"; U
INPUT "Enter acceleration"; A
INPUT "Enter time"; T
PRINT " Distance travelled="; DISTANCE ( U, A, T )
END
FUNCTION DISTANCE ( U, A, T )
DISTANCE = U 8 T + 1 / 2 * A * T ^ 2
END FUNCTION
Subscribe to:
Post Comments (Atom)
-
During my time in high school I had it really good moments, but my best moments that I've experienced are in a particular class during ...
-
My father My father name is Prem kumar Sunuwar.He is 39 years old.He is a mansion.He is my super hero of my life. He always help and su...
-
DECLARE FUNCTION COUNT ( N$ ) CLS INPUT "Enter any word"; N$ PRINT "Total number of vowels = "; COUNT ( N$ ) END ...
No comments:
Post a Comment