Program for for Odd number using “Array” in QBASIC
CLS
PRINT "Enter 10 number"
FOR i = 1 TO 10
    INPUT a(i)
NEXT i
FOR i = 1 TO 10
    IF (a(i) MOD 2 = 1) THEN
        PRINT a(i)
    END IF
NEXT i
END