Computer Science, asked by srijanisarkar2030, 21 days ago

Write a program to input 2 numbers and print their sum and difference​

Answers

Answered by TaniyaArmy
2

Explanation:

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)

Answered by BangtanGirl11
1

Answer:

the above one is the right answer of your question

Similar questions