Guest User

Untitled

a guest
Mar 30th, 2020
552
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.32 KB | None | 0 0
  1. 50 PRINT "Think of a musical instrument, and I will try to guess it.":PRINT "Answer the questions as either Yes (1) or No (0)"
  2. 51 PRINT "Do you blow into this instrument?"
  3. 52 INPUT 9999
  4. 53 LET 55=54-9999*2:LET 58=54+9999*2
  5. 55 LET 200=60:LET 400=0
  6. 58 LET 400=60:LET 200=0
  7.  
  8.  
  9. 200 PRINT "Does this instrument have strings?":LET 201=200+1
  10. 201 INPUT 10000:LET 202=201+1
  11. 202 LET 204=200+4:LET 205=204-10000*2:LET 206=204+10000*2
  12. 205 LET 220=204+4:LET 300=0
  13. 206 LET 300=204+4:LET 220=0
  14.  
  15.  
  16. 8888 REM PERCUSSION INSTRUMENTS HERE
  17.  
  18. 220 PRINT "Does this instrument make a high pitched dinging sound?":LET 221=220+1
  19. 221 INPUT 10001:LET 222=221+1
  20. 222 LET 224=220+4:LET 225=224-10001*2:LET 226=224+10001*2
  21. 225 LET 1006=224+4:LET 240=0
  22. 226 LET 240=224+4:LET 230=0
  23.  
  24. 240 PRINT "Is it capable of playing more than one pitch?":LET 241=240+1
  25. 241 INPUT 10002:LET 242=241+1
  26. 242 LET 244=240+4:LET 245=244-10002*2:LET 246=244+10002*2
  27. 245 LET 1008=244+4
  28. 246 LET 1007=244+4
  29.  
  30. 8888 REM STRING INSTRUMENTS HERE
  31.  
  32. 300 PRINT "Is this instrument played in a rock band?":LET 301=300+1
  33. 301 INPUT 10004:LET 302=301+1
  34. 302 LET 304=300+4:LET 305=304-10004*2:LET 306=304+10004*2
  35. 305 LET 320=304+4:LET 300=0
  36. 306 LET 1009=304+4
  37.  
  38.  
  39. 320 PRINT "Is this instrument big?":LET 321=320+1
  40. 321 INPUT 10005:LET 322=321+1:PRINT 10005
  41. 322 LET 324=320+4:LET 325=324-10005*2:LET 326=324+10005*2
  42. 325 LET 1010=324+4
  43. 326 LET 1011=324+4
  44.  
  45. 8888 REM WIND INSTRUMENTS HERE
  46.  
  47. 400 PRINT "Is this instrument a woodwind?":LET 401=400+1
  48. 401 INPUT 10006:LET 402=401+1
  49. 402 LET 404=400+4:LET 405=404-10006*2:LET 406=404+10006*2
  50. 405 LET 420=404+4:LET 400=0
  51. 406 LET 500=404+4:LET 400=0
  52.  
  53. 8888 REM BRASS INSTRUMENTS HERE
  54.  
  55. 420 PRINT "Is it played by moving a slide?":LET 421=420+1
  56. 421 INPUT 10007:LET 422=421+1
  57. 422 LET 424=420+4:LET 425=424-10007*2:LET 426=424+10007*2
  58. 425 LET 440=424+4:LET 400=0
  59. 426 LET 1001=424+4
  60.  
  61. 440 PRINT "Is it big?":LET 441=440+1
  62. 441 INPUT 10008:LET 442=441+1
  63. 442 LET 444=440+4:LET 445=444-10008*2:LET 446=444+10008*2
  64. 445 LET 1000=444+4
  65. 446 LET 1002=444+4
  66.  
  67. 400 PRINT "Is this instrument a woodwind?":LET 401=400+1
  68. 401 INPUT 10006:LET 402=401+1
  69. 402 LET 404=400+4:LET 405=404-10006*2:LET 406=404+10006*2
  70. 405 LET 420=404+4:LET 400=0
  71. 406 LET 500=404+4:LET 400=0
  72.  
  73. 8888 REM BRASS INSTRUMENTS HERE
  74.  
  75. 500 PRINT "Does it have a reed?":LET 501=500+1
  76. 501 INPUT 10009:LET 502=501+1
  77. 502 LET 504=500+4:LET 505=504-10009*2:LET 506=504+10009*2
  78. 505 LET 1003=504+4
  79. 506 LET 520=504+4
  80.  
  81. 520 PRINT "Does Squidward play it?":LET 521=520+1
  82. 521 INPUT 10010:LET 522=521+1
  83. 522 LET 524=520+4:LET 525=524-10010*2:LET 526=524+10010*2
  84. 525 LET 1005=524+4
  85. 526 LET 1004=524+4
  86.  
  87.  
  88.  
  89. 1000 PRINT "I guess that your instrument is: TRUMPET" : END
  90. 1001 PRINT "I guess that your instrument is: TROMBONE" : END
  91. 1002 PRINT "I guess that your instrument is: TUBA" : END
  92. 1003 PRINT "I guess that your instrument is: FLUTE" : END
  93. 1004 PRINT "I guess that your instrument is: CLARINET" : END
  94. 1005 PRINT "I guess that your instrument is: SAXOPHONE" : END
  95. 1006 PRINT "I guess that your instrument is: DRUMS" : END
  96. 1007 PRINT "I guess that your instrument is: XYLOPHONE" : END
  97. 1008 PRINT "I guess that your instrument is: TRIANGLE" : END
  98. 1009 PRINT "I guess that your instrument is: GUITAR" : END
  99. 1010 PRINT "I guess that your instrument is: VIOLIN" : END
  100. 1011 PRINT "I guess that your instrument is: CELLO" : END
Advertisement
Add Comment
Please, Sign In to add comment