Program for find the sum for two numbers in QBASIC
Answers
Answered by
2
Answer:
CLS
INPUT " ENTER THE FIRST NUMBER " ; A
INPUT " ENTER THE SECOND NUMBER " ; B
S = A + B
PRINT " THE SUM OF TWO NUMBERS = " ; S
END
Answered by
1
CLS
INPUT "ENTER A NUMBER"; N1
INPUT "ENTER SECOND NUMBER: ",N2
SUM = N1+N2
PRINT "SUM = ";SUM
END
Similar questions