Qbasic program to print the smallest among ten different numbers
Posted by Mahibabu
REM Program to print the smallest among ten different numbers
CLS
INPUT "Enter first number"; n
FOR i = 2 TO 10
INPUT "Enter next number"; s
IF s < n THEN
n = s
END IF
NEXT i
PRINT "The smallest number is"; n
END