Download  Print this page

HP 12C Platinum User Manual Page 138

Financial calculator.
Hide thumbs

Advertisement

138 Section 9: Branching and Looping
Keystrokes
(ALG mode)
20000?0
20?1
25?2
15000
Ê
Ê
Ê
Ê
Ê
Ê
Ê
Ê
Ê
Display
Stores test value in register R
20,000.00
Stores 20% tax rate in register R
20.00
Stores 25% tax rate in register R
25.00
Keys income less than test value
15,000.
into display and X-register.
Line 001: ?9.
001,
44
9
Stores income into register R
15,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
15,000.00
X-register and test value has been
placed in Y-register.
Line 004: §
004,
20
15,000.00
Line 005: go
005,
43
34
15,000.00
Condition tested by o was true,
006,43,33,009
so program execution continued
with line 006: gi009.
15,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 15,000 = 3,000.
3,000.00
.
0
.
1
.
2
.
9

Advertisement

Table of Contents

   Also See for HP 12C Platinum

   Related Manuals for HP 12C Platinum

Comments to this Manuals

Symbols: 0
Latest comments: