Section 8: Programming Basics 123
File name: hp 12c pt_user's guide_English_HDPMF123E27 Page: 123 of 275
Printed Date: 2005/8/1
Dimension: 14.8 cm x 21 cm
Keystrokes
(ALG mode)
Display
§
001,
20
~
002,
34
}
003,
36
t
004,
31
Stops program execution to display
AMOUNT.
?+
1
005, 44 40 1
=
006,
40
:
0
007,
45
0
b
008,
25
t
009,
31
Stops program execution to display
TAX.
?+
2
010, 44 40 2
}
011,
36
?+
3
012, 44 40 3
Now, to run the program, first set the appropriate mode by pressing
f]
or
f[
and then do the following:
Keystrokes Display
fs
6,370.52
Sets calculator to Run mode.
f
CLEAR
²
0.00
Clears registers R
1
through R
6
.
13
\
68.5
68.5
First item.
t
890.50
AMOUNT for first item.
t
60.11
TAX for first item.
t
950.61
TOTAL for first item.
18
\
72.9
72.9
Second item.
t
1,312.20
AMOUNT for second item.
t
88.57
TAX for second item.
t
1,400.77
TOTAL for second item.
24
\
85
85.
Third item.
t
2,040.00
AMOUNT for third item.