home *** CD-ROM | disk | FTP | other *** search
/ Millennium Time Capsule / AC2000.BIN / disks / ac6_disk / tutorial.s / hbasic3.tut / example3.bas next >
BASIC Source File  |  1997-06-11  |  277b  |  13 lines

  1. INPUT " Input number:",a
  2. IF a<10 THEN
  3.     PRINT "a is below ten!"
  4. ELSEIF a<=10 THEN
  5.     PRINT "a is below ten or equal to ten!"
  6. ELSEIF a>10 THEN
  7.     PRINT "a is above ten!"
  8. ELSEIF a>=10 THEN
  9.     PRINT "a is above ten or equal to 10"
  10. ELSE
  11.     PRINT "a equals anything else"
  12. END IF
  13.