Average of 3 no(fun)
DECLARE FUNCTION AVG
CLS
INPUT"ENTER FIRST NO";A
INPUT"ENTER SECOND NO";B
INPUT"ENTER THIRD NO";C
PRINT"AVERAGE OF THREE NO";AVG(A,B,C)
END
FUNCTION AVG (A,B,C)
Av=(A+B+C)
Av=AVG
END FUNCTION
CLS
INPUT"ENTER FIRST NO";A
INPUT"ENTER SECOND NO";B
INPUT"ENTER THIRD NO";C
PRINT"AVERAGE OF THREE NO";AVG(A,B,C)
END
FUNCTION AVG (A,B,C)
Av=(A+B+C)
Av=AVG
END FUNCTION