Computer Science, asked by aleeza6377, 1 year ago

write a program in QBASIC TO PRINT THE GREATEST OF 2 NOS using LET statement

Answers

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

shardul1925: wlcm
Similar questions