Advertisement
Chrys8888

Gran Turing-no

Oct 25th, 2012
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. %simple stuff, don't piss yourself
  2. %I took the multiple choice optiions straight from the book
  3.  
  4. var ans: int
  5.  
  6. put "Turing is:"
  7. put "1. a programming language"
  8. put "2. a type of car"
  9. put "3. a mathematician"
  10. put "4. a machine"
  11. put "5. all of the above"
  12.  
  13. loop
  14. get ans
  15. if ans = 1 then
  16. put "Right!"
  17. exit
  18. elsif ans = 2 then
  19. put "There's no such thing as a Gran Turing-no."
  20. elsif ans = 3 then
  21. put "lolno"
  22. elsif ans = 4 then
  23. put "Close, but no quite."
  24. elsif ans = 5 then
  25. put "That was so dumb, you don't even get to try again. Go read a book."
  26. exit
  27. else
  28. put "That isn't even an option!"
  29. end if
  30. end loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement