Write a program in QBASIC to enter three numbers , calculate their sum and average.
Answers
Answered by
8
Answer:
CLS
INPUT A
INPUT B
INPUT C
SUM=A+B+C
AVG=SUM/3
PRINT "SUM";SUM
PRINT "AVERAGE";AVG
END
Similar questions