9/72
11
WRONG KEY DEPRESSED
PROBLEM:
The area A of a triangle with base b and altitude h is
PROGRAM:
Store the program.
A
=
~
bh
=
bh/2
2
++268
SPACE
STOP
(for value
PRINT
STOP
(for value
PRINT
X
2
,
PRINT
RESET, CLEAR PROG, WRITE
of
b)
of
h)
SPACE, STOP, PRINT, STOP, PRINT, -
.
~
mistake (should be X)
Delete the mistake.
RESET, DELETE, START
(deletes last key entered)
When DELETE was pressed, the delete light came on. When START was
pressed, the delete light went off. The 1155 is now in keyboard mode. Enter
the correct instruction and the rest of the program.
WRITE, X, 2, -;., PRINT
11-1