Texas Instruments Voyage 200 User Manual page 639

Graphing calculator
Hide thumbs Also See for Voyage 200:
Table of Contents

Advertisement

Example 3
Example 3
Example 3
Example 3
This example uses
to calculate the result.
Loop...EndLoop
:prog3()
:Prgm
Ê
:Dialog
©
:
Title "Enter an integer"
©
:
Request "Integer",n
Ê
:EndDlog
Ë
:expr(n)!n
:0!temp:0!I
Ì
:Loop
©
:
temp+i!temp
©
:
i+1!I
©
:
If i>n
©
:
Exit
Ì
:EndLoop
Í
:Dialog
©
:
Title "The answer is"
©
:
Text string(temp)
Í
:EndDlog
ê
:EndPrgm
Ê
Defines a dialog box for input.
Ë
Converts string entered with Request to an expression.
Ì
Loop calculation.
Í
Defines a dialog box for output.
Programming
to create dialog boxes for input and output. It uses
Dialog...EndDlog
639

Advertisement

Table of Contents
loading

This manual is also suitable for:

Voyage 200 - voyage 200 calculator

Table of Contents