write a program in qbasic to calculate difference between two numbers?
Answers
Answered by
8
Explanation:
QBasic Programming :
- REM PROGRAM TO DISPLAY SUM, DIFFERENCE, PRODUCT AND AVERAGE OF TWO NUMBERS. CLS. ...
- DECLARE SUB SUM (A, B) DECLARE SUB DIFF (A, B) ...
- SUB SUM (A, B) S = A + B. ...
- SUB AVERAGE (A, B) AV = (A + B) / 2. ...
- DECLARE FUNCTION SUM (A, B) ...
- FUNCTION SUM (A, B) ...
- FUNCTION DIFF (A, B) ...
- FUNCTION PROD (A, B)
Answered by
2
Explanation:
i hope its much helps mark brainlist
Attachments:
Similar questions