HP 12C Platinum User Manual page 139

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

Advertisement

Keystrokes
(ALG mode)
Ê
20000
Ê
Ê
Ê
Ê
Ê
Ê
Ê
Ê
Ê
Ê
Section 9: Branching and Looping
Display
Line 012: gi000.
012,43,33,000
3,000.00
Keys income equal to test value
20,000.
into display and X-register.
Line 001: ?9.
001,
44
9
Stores income into register R
20,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
20,000.00
X-register and test value has been
placed in Y-register.
Line 004: §
004,
20
20,000.00
Line 005: go.
005,
43
34
20,000.00
Condition tested by o was true,
006,43, 33, 009
so program execution continued
with line 006: gi009.
20,000.00
Line 009: :1.
009,
45
1
20% tax rate has been recalled to
20.00
X-register, moving income to
Y-register.
Line 010: b.
010,
25
Divides tax rate by 100.
0.20
Line 011: }.
011,
36
20% of 20,000 = 4,000.
4,000.00
Line 012: gi000.
012,43,33,000
4,000.00
139
.
9

Advertisement

Table of Contents
loading

Table of Contents