to write a program to find sum and difference of 2 number depent upon user choice using QBasic
Answers
Answered by
7
Answer:
CLS
INPUT "ENTER YOUR FIRST NUMBER"; A
INPUT "ENTER YOUR SECOND NUMBER"; B
S = A + B
D = A - B
PRINT "THE SUM OF NUMBERS = "; S
PRINT "THE DIFFERENCE OF NUMBERS= "; D
END
Similar questions
Chemistry,
5 months ago
Math,
5 months ago
Math,
5 months ago
Physics,
11 months ago
Computer Science,
11 months ago