QBASIC program to display smaller number among two numbers.
CLS
INPUT " Enter any two numbers "; A, B
IF A < B THEN
PRINT " The smaller number is "; A
ELSE
PRINT " The smaller number is "; B
END IF
END
Tuesday, September 18, 2018
Subscribe to:
Post Comments (Atom)
My Journey with JM
MY JOURNEY WITH JAGAT MANDIR It has been almost 10 years since I have entered this school. It seems like just yesterday but now I...
-
MY JOURNEY WITH JAGAT MANDIR It has been almost 10 years since I have entered this school. It seems like just yesterday but now I...
-
DECLARE FUNCTION AREA (L, B, H) CLS INPUT" ENTER LENGTH"; L INPUT" ENTER BREADTH"; B INPUT" ENTER HEIGHT";...
No comments:
Post a Comment