Computer Science, asked by aayushmabistac, 2 months ago

write a program in qbasic to calculate difference between two numbers?​

Answers

Answered by pds39937
8

Explanation:

QBasic Programming :

  1. REM PROGRAM TO DISPLAY SUM, DIFFERENCE, PRODUCT AND AVERAGE OF TWO NUMBERS. CLS. ...
  2. DECLARE SUB SUM (A, B) DECLARE SUB DIFF (A, B) ...
  3. SUB SUM (A, B) S = A + B. ...
  4. SUB AVERAGE (A, B) AV = (A + B) / 2. ...
  5. DECLARE FUNCTION SUM (A, B) ...
  6. FUNCTION SUM (A, B) ...
  7. FUNCTION DIFF (A, B) ...
  8. FUNCTION PROD (A, B)
Answered by XxDREAMKINGxX
2

Explanation:

i hope its much helps mark brainlist

Attachments:
Similar questions