106 Section 9: Branching and Looping

Keystrokes

Display

Ê

02-

1.00

Ê 03- –531.25

450 Line 02: :0. This is the beginning of the first pass through the loop.

4211 Line 03: f!.

Portion of first month’s payment applied to interest.

Ê

04-

 

–531.25

Ê

05-

 

–12.10

4331 Line 04: gu.

34Line 05: ~.

Portion of first month’s payment applied to principal.

Ê

06-

43

31

Line 06: gu.

 

–12.10

 

 

 

Ê

07- 43, 33

02

Line 07: gi02. This is the end

 

–12.10

 

 

of the first pass through the loop.

 

 

 

 

Ê

02-

45

0

Line 02: :0. Program execution

 

 

 

 

has branched to the beginning of

 

 

 

 

the loop for the second pass through

 

1.00

 

 

it.

 

 

 

 

Ê

03-

42

11

Line 03: f!.

 

–531.12

 

 

Portion of second month’s payment

 

 

 

 

applied to interest.

Ê

04-

 

–531.12

Ê

05-

 

–12.23

4331 Line 04: gu.

34Line 05: ~.

Portion of second month’s payment applied to principal.

Ê

06- 43 31 Line 06: gu.

 

–12.23

File name: hp 12c_user's guide_English_HDPMBF12E44

Page: 106 of 209

Printered Date: 2005/7/29

Dimension: 14.8 cm x 21 cm