Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- You'll have to type the program in just like the eighties :)
- Type every line beginning with a number in this emulator and then type run.
- Use the LIST [line number] to retype lines in case of syntax error.
- https://virtualconsoles.com/online-emulators/c64/
- 10 PRINT "WHAT IS YOUR NAME?"
- 20 INPUT A$
- 30 PRINT "WELCOME TO THE C64 QUIZ, " A$
- 40 PRINT "WHAT YEAR WAS THE COMMODORE 64 RELEASED?"
- 50 INPUT B$
- 60 IF B$="1982" GOTO 70
- 65 GOTO 500
- 70 PRINT "GOOD!"
- 80 PRINT "WHAT PROCESSOR NUMBER DID THE C64 USE?"
- 81 PRINT "6510"
- 82 PRINT "9905"
- 83 PRINT "6502"
- 84 PRINT "8086"
- 90 INPUT B$
- 100 IF B$="6510" GOTO 110
- 105 GOTO 500
- 110 PRINT "GOOD!"
- 120 PRINT "HOW MUCH KB RAM DID THE C64 HAVE?"
- 130 PRINT "128"
- 140 PRINT "64"
- 150 PRINT "69 (NICE)"
- 160 INPUT B$
- 170 IF B$="64" GOTO 180
- 175 GOTO 500
- 180 PRINT "GOOD!"
- 190 PRINT "YOU HAVE WON THE QUIZ. CONGRATULATIONS " A$
- 200 STOP
- 500 PRINT "YOU FAILED, TRY AGAIN"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement