writa a program to sum difference product of two numbers
Answers
Answered by
1
Answer:
QBasic Programming
REM PROGRAM TO DISPLAY SUM, DIFFERENCE, PRODUCT AND AVERAGE OF TWO NUMBERS. INPUT “ENTER FIRST NUMBER”; A. ...
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)
Similar questions