write a program in qbasic in which input the value of two variables and find out which one is greater along with output
please answer it correct and fast.....
sakshigoyal1119:
yes
Answers
Answered by
3
CLS
PRINT TAB(100); "Greater Number Finder by Md Athar Sharif"
INPUT "Input First Variable"; N1
INPUT "Input Second Variable"; N2
IF N1 > N2 THEN
PRINT "Your First Variable i.e."; N1; "is greater"
ELSE PRINT "Your Second Variable i.e."; N2; "is greater"
END IF
END
Similar questions