Write a program enter any three no. and display sum and average from Qbasic.
Answers
Answered by
1
Answer:
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)
Explanation:
I HOPE HELP FULL
Similar questions