EasyManua.ls Logo

Radio Shack TRS-80

Radio Shack TRS-80
236 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
§
HINT:
If
you can't
figure it
out,
try
moving the NEXT N line
to some other position.
Right
you
moved line
20
to line
40
and the screen reads:
HELP
MY COMPUTER
HAS GONE
BERSERK!
NO IT'S
UNDER
CONTROL.
HELP
MY COMPUTER
HAS GONE BERSERK!
NO IT.S UNDER CONTROL
. . . etc.
3
more
times.
How would
you modify the program so line
10
is printed 5 times, then
line
30
is
printed 3
times? Make the changes and RUN.
The new program might read:
8 FOR N
=
1 TO 5
10 PRINT "HELP
MY COMPUTER
HAS GONE
BERSERK!"
20 NEXT N
25 FOR M
=
1 TO 3
30
PRINT
"NO
IT'S
UNDER
CONTROL."
40
NEXT M
i
H
47

Other manuals for Radio Shack TRS-80

Related product manuals