Basic Program To Average of N Numbers

INPUT “Average of how many numbers ? enter any number “; N
FOR I = 1 TO N
INPUT “ENTER THE NUMBER “; NUM
LET SUM = SUM + NUM
NEXT I
LET AVG = SUM / N
PRINT “AVERAGE”; AVG
END
REM INTERESTING…IF U DO NOT GIVE ANY NUMBER

Please follow and like us:

Leave a comment