Average of 3no(function)




DECLARE FUNCTION AVG(A,B,C)
CLS
INPUT"ENTER FIRST NO";A
INPUT"ENTER SECOND NO";B
INPUT"ENTER THIRDNO";C
PRINT"AVERAGE OF THREE NO";AVG(A,B,C)
END

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

Comments

Popular posts from this blog

My journey in jagat mandir school

experience of SEE exam cancelled and covid -19