Write a Qbasic program to calculate the sum of two numbers
Answers
Answered by
2
Answer:
PRINT "PROGRAM: Add 2 numbers"
INPUT "Enter the 1st number: ", number1
INPUT "Enter the 2nd number: ", number2
Explanation:
HOPE THIS HELPS YOU!!!
Answered by
5
CLS
INPUT "ENTER A NUMBER"; N1
INPUT "ENTER SECOND NUMBER: ",N2
SUM = N1+N2
PRINT "SUM = ";SUM
END
Similar questions