Tuesday, September 18, 2018

QBASIC

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

No comments:

Post a Comment

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