Vtech PreComputer Power Pad Plus User Manual - Page 71
PRINT The answer was ;AMOUNT
View all Vtech PreComputer Power Pad Plus manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 71 highlights
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 67
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