Computer Science, asked by nishakeshri2222, 1 day ago

write a program to print the greater of two numbers entered by the user using QBASIC​

Answers

Answered by kritikakumawat109
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