Section 9: Branching and Looping 137
File name: HP 12c Pt Converted_user's guide_English_HDP0F123E02_080207
Page: 271 of 281
Printed Date:
{
2007/8/2Dimension: 14.8 cm x 21 cm
Keystrokes
(RPN mode)
Display
Ê
004,43, 33,
007
Condition tested by
o
was true,
so program execution continued
with line 004:
gi
007.
20,000.00
Ê
007,
45
1
Line 007:
:
1.
20.00
20% tax rate has been recalled to
X-register, moving income to
Y-register.
Ê
008,
25
Line 008:
b
.
4,000.00
20% of 20,000 = 4,000.
25000
25,000.
Keys income greater than test value
into display and X-register.
Ê
001,
45
0
Line 001:
:
0.
20,000.00
Test value has been recalled to
X-register, moving income to
Y-register.
Ê
002,
34
Line 002:
~
.
25,000.00
Income has been placed in
X-register and test value has been
placed in Y-register.
Ê
003,
43
34
Line 003:
go
.
25,000.00
Ê
005,
45
2
Condition tested by
o
was false,
so program execution skipped the
next line and continued at line
005:
:
2.
25.00
25% tax rate has been recalled to
X-register, moving income to
Y-register.
Ê
006,43, 33,
008
Line 006:
gi
008.
25.00
Ê
008,
25
Line 008:
b
.
6,250.00
25% of 25,000 = 6,250.
Summary of Contents for 12C
Page 1: ...HP 12c Platinum Financial Calculator User s guide H Edition 5 HP part number F2231AA 90001 ...
Page 15: ...Part I Problem Solving ...
Page 48: ...48 Section 3 Basic Financial Functions ...
Page 104: ......
Page 105: ...Part II Programming ...
Page 156: ......
Page 157: ...Part III Solutions ...
Page 230: ......
Page 231: ...Appendices ...
Page 277: ......