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...

-
DECLARE SUB CHECK(N) CLS INPUT " ENTER THE NUMBER";N CALL CHECK(N) END SUB CHECK(N) IF N > 0 THEN PRINT "THE GIVEN...
-
DECLARE FUNCTION COUNT (N$) CLS INPUT " Enter any word ";N$ PRINT "Total no. of vowels ="; COUNT (N$) END FUNCTION...
-
My Picnic Experience We all the students of grade 10 went for picnic to Tokha. We all the students were very excited before a week ago. ...
No comments:
Post a Comment