HP 12C Platinum User Manual page 140

Financial calculator
Hide thumbs Also See for 12C Platinum:
Table of Contents

Advertisement

140 Section 9: Branching and Looping
Keystrokes
(ALG mode)
25000
Ê
Ê
Ê
Ê
Ê
Ê
Ê
Ê
Ê
Display
Keys income greater than test value
25,000.
into display and X-register.
Line 001: ?9.
001,
44
9
Stores income into register R
25,000.00
Line 002: :0.
002,
45
0
Test value has been recalled to
20,000.00
X-register, moving income to
Y-register.
Line 003: ~.
003,
34
Income has been placed in
25,000.00
X-register and test value has been
placed in Y-register.
Line 004: §.
004,
20
25,000.00
Line 005: go.
005,
43
34
25,000.00
Condition tested by o was false,
007,
45
2
so program execution skipped the
next line and continued at line
007: :2.
25% tax rate has been recalled to
25.00
X-register, moving income to
Y-register.
Line 008: gi010.
008,43, 33, 010
25.00
Line 010: b.
010,
25
Divides tax rate by 100.
0.25
Line 011: }.
011,
36
25% of 25,000 = 6,250.
6,250.00
.
9

Advertisement

Table of Contents
loading

Table of Contents