DECLARE FUNCTION AVG (A, B, C)
CLS
INPUT "Enter any three Numbers " ; A, B, C
PRINT "Average of three numbers =" ; AVG(A, B, C)
END
FUNCTION AVG (A, B, C)
AV = ( A + B + C ) / 3
AVG = AV
END FUNCTION
Subscribe to:
Post Comments (Atom)
My Journey with JM
MY JOURNEY WITH JAGAT MANDIR It has been almost 10 years since I have entered this school. It seems like just yesterday but now I...
-
MY JOURNEY WITH JAGAT MANDIR It has been almost 10 years since I have entered this school. It seems like just yesterday but now I...
-
DECLARE FUNCTION AREA (L, B, H) CLS INPUT" ENTER LENGTH"; L INPUT" ENTER BREADTH"; B INPUT" ENTER HEIGHT";...
No comments:
Post a Comment