Average of 3 no(function)

DECLARE FUNCTION AVG(A,B,C)
CLS
INPUT "ENTER ANY 3 NUMBER";A,B,C
PRINT "AVERAGE OF 3 NO=";AVG(A,B,C)
END

FUNCTION AVG(A,B,C)
AV=(A+B+C)/3
AVG=AV
END FUNCTION

Comments

Popular posts from this blog

Father's day

Journey to jm

My Father