Computer Science, asked by avaa2808, 5 months ago

2. Write a program to find the Largest of two numbers entered in qbasic

Answers

Answered by Feirxefett
1

Answer:

Write a program that asks any two numbers and displays the greater one. CLS. INPUT "ENTER FIRST NUMBER";A.

Answered by skprincktr
1

REM

CLS

INPUT “ENTER ANY TWO NUMBERS”; A, B

IF A > B THEN

PRINT A; “IS GREATER”

ELSE

PRINT B; “IS GREATER”

END IF

END

Similar questions