Average of three numbers

Average of three numbers


DECLARE FUNCTION AVG(A,B,C)
CLS
INPUT"ENTER FIRST NUMBER";A
INPUT"ENTER SECOND NUMBER";B
INPUT"RNTER THIRD NUMBER";C
PRINT"AVERAGE OF THREE NUMBERS";AVG(A,B,C)
END

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

Comments

Popular posts from this blog

My experience in jagat mandir school

PERFECT SQR OR NOT

Picnic experience