Articles tagged with computer programming

Fun With Basic

posted by Matthew Belinkie on Sunday, November 30th, 2008 at 12:44pm
10   PRINT “Do you have a problem? (Y or N)”

20   INPUT $A

30   IF $A = “N” GOTO 120

40   PRINT “Can someone else help? (Y or N)”

50   INPUT $B

60   IF $B = “Y” GOTO 120

70   PRINT “Can you find them? (Y or N)”

80   INPUT $C

90   IF $C = “N” GOTO 120

100 PRINT “Maybe you can hire… the A-Team.”

110 GOTO 130

120 PRINT “You cannot hire the A-Team.”

130 END