Thc following will be displayed:
10 INPUT "NUMBER";
20 CT
CT ,;" 1
30
f\'V "-: : :
,I;'..}
+-
40 IF N : 0 THEN GOTO
60~
:)(2)
GOTO
1
60 PRINT "AVERAGE IS"; A'V/CT
The line number 20 must be changed to 40 and the old line number 40 must be
changed to 20. Movc the cursor to the 0 in line 20. When this is done, line 20 should
appear as:
CT ::" CT
+-
The cursor is positioned correctly to change the 2 to a 4. Delete the 2 by pressing
~.
Then insert the 4 by pressing
CIJ
on the keyboard. Now the program should
appear as:
10
INPUT "NUMBER";
1.1-121
CT
(:'1"
+ l
:] (Z!
/':'.o,'..)
:::::
Nt +-
40 IF N
=
(2)
THEN GOTO 60
5(;~
ClOTO :I.
60 PRINT "AVERAGE IS"; AV/CT
Next, move the cursor down two lines so that it is over the zero of line 40. The line
should then appear as
79