VTech E Power User Manual Page 71

  • Download
  • Add to my manuals
  • Print
  • Page
    / 88
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 70
67
LIFE
10 PRINT “If an average life”
20 PRINT “span is 70 years”
30 PRINT “Then how many”
40 PRINT “generations would have”
50 PRINT “lived in 2000 years?”
60 INPUT “Enter a guess.”;GUESS
70 AMOUNT = INT (2000/70)
80 DIFF = ABS (AMOUNT-GUESS)
90 PRINT “The answer was ” ;AMOUNT
100 PRINT “You were ”; DIFF
110 PRINT “generations off.
120 END
RUN
THE COOLEST PERSON
10 PRINT “Enter the coolest”
20 INPUT “person you know”;COOL$
30 FOR COUNT = 1 TO 50
40 PRINT COOL$;“ is super cool!”
50 NEXT COUNT
60 END
RUN
Page view 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 87 88

Comments to this Manuals

No comments