Q.A. Write a QBasic program to Assign three numbers , add them and print the
result. (use LET statement)
Answers
Answered by
2
Answer:
CLS
PRINT "ENTER YOUR FIRST NUMBER"
INPUT NUMBER1
PRINT "ENTER YOUR SECOND NUMBER"
INPUT NUMBER2
PRINT "ENTER YOUR THIRD NUMBER"
INPUT NUMBER3
LET SUM=NUMBER1 + NUMBER2 + NUMBER3
PRINT "THE ADDITION IS" SUM
END
Explanation:
You can the let "sum" as the addition of all three inputs given by the user.
Similar questions
Math,
2 months ago
Biology,
2 months ago
World Languages,
2 months ago
Accountancy,
5 months ago
CBSE BOARD XII,
5 months ago
Math,
11 months ago
English,
11 months ago
Math,
11 months ago