Write a QBasic program to find the sum of 5 numbers.
Answers
Answered by
13
Answer:
10 CLS (optional)
20 INPUT "ENTER FIRST NUMBER";A
30 INPUT "ENTER SECOND NUMBER";B
40 INPUT "ENTER THIRD NUMBER";C
50 INPUT "ENTER FOURTH NUMBER";D
60 INPUT "ENTER FIFTH NUMBER";E
70 LET SUM = A+B+C+D+E
80 PRINT "THE SUM IS: ";SUM
90 END
Hope it helped! Plz mark as brainliest!!
Similar questions