Write a program in QBASIC to add 3 numbers
Answers
Answered by
0
Explanation:
- REM PROGRAM TO DISPLAY SUM, PRODUCT AND AVERAGE OF THREE NUMBERS. CLS. ...
- DECLARE SUB SUM (A, B, C)
- DECLARE SUB PROD (A, B, C) ...
- SUB SUM (A, B, C) S = A + B + C. ...
- SUB PROD (A, B, C) P = A * B * C. ...
- SUB AVERAGE (A, B) ...
- DECLARE FUNCTION SUM (A, B, C) ...
- FUNCTION SUM (A, B, C) ...
- FUNCTION PROD (A, B, C)
Answered by
0
Answer:
Attachments:
Similar questions