The program will be displayed
as
usual:
10
INPUT "NUMBER";
N.
20
IF
N = 0
THEN
GOTO
60
ELSE
CT
-
CT
+
1,q~
30
AV
-
AV
+
N,,:!
40
CT
--
CT
+ 1
<ilI1
50
GOTO
10#~
61ll
PRINT
"AVERAGE
IS";
AV/CT.
Since the new lines 60 and 70 are very similar, the easiest way
to
revise the program
is
to
create a copy
of
line 60 and then make the necessary revisions.
Put the cursor on the 6 of line 60. Line 60 should appear
as:
PRINT
"AVERAGE
IS",
Al/lCT
....
Line 60
is
to
be transfered to the paste buffer. Press the SELECT Function Key
«(f7)).
After this is done, move the cursor down one line, so that it is
on
the end
of
file
marker. Line 60 will now appear
as:
Note that the entire line is in reverse video, indicating that it
is
ready
to
be transfered
to
the PASTE buffer. This line should not be deleted when it is transfered
to
the
buffer,
so
press the
COpy
Function Key
(~).
Remember that
~
transfers and
deletes. Now line 60 appears
as
60
PfHNT
II/WERAGE
ISII;
A\lICT~
The cursor is already
in
the correct place for the insertion,
so
press the paste key. You
should
see:
60
PRINT
IIAVERAGE
60
PRINT
"AVERAGE
I
C:'"
•
,.j
,
ISH;
AV/CT'~
AV/CT~
The second line number 60 will now be changed
to
a 70. Position the cursor over the
o
in
the second line number 60.
60
PRINT
"AVERAGE
18";
AV/CT
61
PRINT
"AVERt\GE:
IS";
A\,1./CT
+.-
84