Advertisement
Guest User

Untitled

a guest
May 21st, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
QBasic 1.55 KB | None | 0 0
  1. SUB Introduction (NAME$, Age, gender$, Height, npcname$)
  2.     DATE$ = MID$(DATE$, 1, 2) + " " + MID$(DATE$, 4, 2) + ", " +  MID$(DATE$, 7)   
  3.     PRINT ">The carnival is in town, so you decide to spend your Sunday afternoon there."
  4.     PRINT "You're having a great time until- Oh, no! It's started raining! Quickly, you"
  5.     PRINT "duck inside the nearest tent. As your eyes adjust to the dim lighting you notice"
  6.     PRINT "an old lady in a purple top hat sitting behind a crystal ball..."
  7.     PRINT
  8.     PRINT "Fortune Teller: CHR$(34)Hello, I am the ~MARVELOUS MADAM MARMALADE~ and fate has"
  9.     PRINT "brought you to my tent on this rainy day of "; DATE$; ".CHR$(34)"
  10.     PRINT
  11.     PRINT "> You seem to have encountered a strange fortune teller. Realising that you have"
  12.     PRINT "nothing better to do, you decide to have your fortune told."
  13.     PRINT
  14.     PRINT "MMM: "; CHR$(34); "What is your name?"; CHR$(34)
  15.     INPUT "* "; NAME$
  16.     PRINT "MMM: "; CHR$(34); "How old are you?"; CHR$(34)
  17.     INPUT "* "; Age
  18.     PRINT "MMM: "; CHR$(34); "Are you male or female?"; CHR$(34)
  19.     INPUT "* "; gender$
  20.     PRINT "MMM: "; CHR$(34); "How tall are you? In inches please."; CHR$(34)
  21.     INPUT "* "; Height
  22.     PRINT "MMM: "; CHR$(34); "What was the name of the boy in third grade that always liked to"
  23.     PRINT "bully you?"; CHR$(34)
  24.     INPUT "* "; npcname$
  25.     PRINT  
  26.     PRINT "> You answered every one of the old woman's questions... Even though some of them"
  27.     PRINT "seemed a little strange or obvious. You suddenly feel very tired. The room starts"
  28.     PRINT "becoming hazy, and you can no longer hear the fortune teller."
  29. END SUB
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement