Section 8: Programming Basics 123

Keystrokes

Display

 

 

 

(ALG mode)

 

 

 

 

 

 

 

§

001,

 

20

 

 

 

 

~

002,

 

34

 

 

 

 

}

003,

 

36

 

 

 

 

t

004,

 

31

Stops program execution to display

 

 

 

 

AMOUNT.

?+1

005,44 40

1

 

=

006,

 

40

 

:0

007,

45

0

 

b

008,

 

25

 

 

 

 

t

009,

 

31

Stops program execution to display

 

 

 

 

TAX.

?+2

010,44 40

2

 

}

011,

 

36

 

?+3

012,44 40

3

 

Now, to run the program, first set the appropriate mode by pressing f]or f[and then do the following:

Keystrokes

fs

fCLEAR²

13\68.5

t t t

18\72.9

t t t

24\85

t

Display

6,370.52

Sets calculator to Run mode.

0.00Clears registers R1 through R6.

68.5First item.

890.50AMOUNT for first item.

60.11TAX for first item.

950.61TOTAL for first item.

72.9Second item.

1,312.20

AMOUNT for second item.

88.57TAX for second item.

1,400.77

TOTAL for second item.

85.Third item.

2,040.00

AMOUNT for third item.

File name: hp 12c pt_user's guide_English_HDPMF123E27

Page: 123 of 275

Printed Date: 2005/8/1

Dimension: 14.8 cm x 21 cm