VTech Precomputer Power Pad Plus User Manual
Page 71

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