#Average of 3 number. (function)

DECLARE FUNCTION Av(a,b,c)
CLS
INPUT "Enter first number";a
INPUT"Enter second number";b
INPUT"Enter third number ";c
PRINT"Average of 3 number";Av(a,,b, c)
END

FUNCTION Av(a,b,c)
AvG=(a+ b+ c) /3
Av=AvG
END FUNCTION

Comments

Popular posts from this blog