Computer Science, asked by shravan9421, 1 month ago

Q.A. Write a QBasic program to Assign three numbers , add them and print the
result. (use LET statement)

Answers

Answered by vedantnathani
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