write a program in Q Basic to take two numbers as input from the user and print their difference
Answers
Answered by
1
QBasic Programming
- REM PROGRAM TO DISPLAY SUM, DIFFERENCE, PRODUCT AND AVERAGE OF TWO NUMBERS. CLS. INPUT “ENTER FIRST NUMBER”; A. ...
- DECLARE SUB SUM (A, B) DECLARE SUB DIFF (A, B) DECLARE SUB PROD (A, B) ...
- SUB SUM (A, B) S = A + B. PRINT “SUM OF TWO NUMBERS”; S. ...
- DECLARE FUNCTION SUM (A, B) DECLARE FUNCTION DIFF (A, B)
Similar questions
English,
2 months ago
Math,
2 months ago
Accountancy,
4 months ago
Social Sciences,
11 months ago
English,
11 months ago