write a program in QBASIC TO PRINT THE GREATEST OF 2 NOS using LET statement
Answers
Answered by
1
Hello!!!
Your answer:
CLS
INPUT " Enter first and second number";a,b
IF(a>b) THEN
PRINT " FIRST NUMBER IS GREATER"
ELSE IF(a<b) THEN
PRINT " SECOND NUMBER IS GREATER"
ELSE
PRINT"BOTH NUMBER ARE EQUAL"
END
Your answer:
CLS
INPUT " Enter first and second number";a,b
IF(a>b) THEN
PRINT " FIRST NUMBER IS GREATER"
ELSE IF(a<b) THEN
PRINT " SECOND NUMBER IS GREATER"
ELSE
PRINT"BOTH NUMBER ARE EQUAL"
END
shardul1925:
wlcm
Similar questions