beautypg.com

Programming – Texas Instruments TITANIUM TI-89 User Manual

Page 128

background image

Previews

128

Programming

Programming

Programming

Programming

Write a program that prompts the user to enter an integer, sums all integers from 1 to the
entered integer, and displays the result.

Steps and keystrokes

Display

1. Use O to display the

Program Editor

.

Create a new program.

Press 3

2. Type

PROG1

(with no spaces) as the

name of the new program variable.

Press

D D PROG j 1

3. Display the “template” for a new program.

The program name,

Prgm

, and

EndPrgm

are shown automatically.

After typing in an input box such as
Variable, you must press

¸ twice.

Press

¸ twice.