11.07.2015 Views

Here - 1000 BiT

Here - 1000 BiT

Here - 1000 BiT

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2. <strong>Here</strong> is another program. What will it print, and how many times?10LETN=115 PRINT N;20 IF N=13 THEN PRINT "cyn UNLUCKY! wht"30 LET N=N+240 IF N>30 THEN GOTO 9950 GOTO 1599 PRINT "DONE"What will it print if line 10 is changed to:10LETN=23. Write a program which says something about each number from one to ten. Theplayer enters a number and the computer prints something about each number: "threestrikes, you're out" or "seven is lucky", etc.4. Write a game for guessing a card which player 1 has entered. Then player 2 mustenter the suit (club, diamond, heart or spade) and the value (1 through 13) of the card.First she guesses the suit, then the program goes on to ask the value. Keep score.73

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!