write a program to print the greater of two numbers entered by the user using QBASIC
Answers
Answered by
0
Answer:
QBasic Programming
REM. INPUT “ENTER ANY TWO NUMBERS”; A, B. IF A > B THEN. PRINT A; “IS GREATER” ...
DECLARE SUB GREAT (A, B) INPUT “ENTER ANY TWO NUMBERS”; A, B. CALL GREAT (A, B) SUB GREAT (A, B) ...
DECLARE FUNCTION GREAT (A, B) INPUT “ENTER ANY TWO NUMBERS”; A, B. PRINT “THE GREATER NUMBER IS”; GREAT (A, B)
Similar questions