Advertisement
Guest User

1HGJ quiz

a guest
Oct 12th, 2019
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. You'll have to type the program in just like the eighties :)
  2. Type every line beginning with a number in this emulator and then type run.
  3. Use the LIST [line number] to retype lines in case of syntax error.
  4. https://virtualconsoles.com/online-emulators/c64/
  5.  
  6. 10 PRINT "WHAT IS YOUR NAME?"
  7. 20 INPUT A$
  8. 30 PRINT "WELCOME TO THE C64 QUIZ, " A$
  9. 40 PRINT "WHAT YEAR WAS THE COMMODORE 64 RELEASED?"
  10. 50 INPUT B$
  11. 60 IF B$="1982" GOTO 70
  12. 65 GOTO 500
  13. 70 PRINT "GOOD!"
  14. 80 PRINT "WHAT PROCESSOR NUMBER DID THE C64 USE?"
  15. 81 PRINT "6510"
  16. 82 PRINT "9905"
  17. 83 PRINT "6502"
  18. 84 PRINT "8086"
  19. 90 INPUT B$
  20. 100 IF B$="6510" GOTO 110
  21. 105 GOTO 500
  22. 110 PRINT "GOOD!"
  23. 120 PRINT "HOW MUCH KB RAM DID THE C64 HAVE?"
  24. 130 PRINT "128"
  25. 140 PRINT "64"
  26. 150 PRINT "69 (NICE)"
  27. 160 INPUT B$
  28. 170 IF B$="64" GOTO 180
  29. 175 GOTO 500
  30. 180 PRINT "GOOD!"
  31. 190 PRINT "YOU HAVE WON THE QUIZ. CONGRATULATIONS " A$
  32. 200 STOP
  33. 500 PRINT "YOU FAILED, TRY AGAIN"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement