118 Section 8: Programming Basics

Pressing the gu keys is not necessary when we do the calculations manually, since in Run mode the result of every intermediate calculation is displayed automatically; but we’ll include gu instructions in the program so that the intermediate results AMOUNT and TAX are automatically displayed when the program is executed.

Keystrokes (RPN mode)

6.75?0

fCLEAR²

13

\

Display

6.75Stores tax rate in R0.

0.00Clears the registers in R1 through R6.

13.Keys in quantity of item.

13.00Separates quantity of item from cost of item to be keyed in next.

68.5

68.5

Keys in cost of item.

File name: hp 12c pt_user's guide_English_HDPMF123E27

Page: 118 of 275

Printed Date: 2005/8/1

Dimension: 14.8 cm x 21 cm