VTech PreComputer Prestige Course Manual page 77

Learning toy
Table of Contents

Advertisement

8. ADDUP
0
REM Add-up
10 LET X = RND(100)
20 LET Y = RND(100)
30 PRINT "If"; X; "plus"; Y; "is equal to SUM,"
40 INPUT "then what is the value of SUM"; ANS
50 IF ANS = X + Y THEN PRINT "Yes, you're right!": END
60 PRINT "Oh, no! The answer is"; X + Y; "."
70 END
9. HANGMAN
0
REM HANGMAN
10 X = RND(5)
20 LIVE = 5
30 FOR I = 1 TO X
40 READ SECRET$
50 NEXT I
60 LET L = LEN(SECRET$)
70 PRINT "Let's play a game of hangman."
80 PRINT "The word has"; L; "letters."
75

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PreComputer Prestige and is the answer not in the manual?

Questions and answers

Table of Contents