HP (Hewlett-Packard) 0012C-90001 Calculator User Manual


 
Section 9: Branching and Looping 111
File name: hp 12c_user's guide_English_HDPMBF12E44 Page: 111 of 209
Printered Date: 2005/7/29 Dimension: 14.8 cm x 21 cm
Keystrokes Display
15,000.00
Ê
07- 45 1
Line 07:
:
1.
20.00
20% tax rate has been recalled to
X-register, moving income to
Y-register.
Ê
08- 25
Line 08:
b
.
3,000.00
20% of 15,000 = 3,000.
20000
20,000.
Keys income equal to test value into
display and X-register.
Ê
01- 45 0
Line 01:
:
0.
20,000.00
Test value has been recalled to
X-register, moving income to
Y-register.
Ê
02- 34
Line 02:
~
.
20,000.00
Income has been placed in
X-register and test value has been
placed in Y-register.
Ê
03- 43 34
Line 03
go
.
20,000.00
Ê
04- 43, 33 07
Condition tested by
o
was true,
so program execution continued
with line 04:
gi
07.
20,000.00
Ê
07- 45 1
Line 07:
:
1.
20.00
20% tax rate has been recalled to
X-register, moving income to
Y-register.
Ê
08- 25
Line 08:
b
.
4,000.00
20% of 20,000 = 4,000.
25000
25,000.
Keys income greater than test value
into display and X-register.
Ê
01- 45 0
Line 01:
:
0.
20,000.00
Test value has been recalled to
X-register, moving income to
Y-register.