Chapter 16: Programming
449
Storing a Variable Value with Input
Storing a Variable Value with Input
Storing a Variable Value with Input
Storing a Variable Value with Input
Input
with
variable
displays a
?
(question mark) prompt during execution.
variable
may be a
real number, complex number, list, matrix, string, or Y= function. During program
execution, enter a value, which can be an expression, and then press
Í
. The value
is evaluated and stored to
variable
, and the program resumes execution.
Input
[
variable
]
You can display
text
or the contents of
Str
n
(a string variable) of up to 16 characters as a
prompt. During program execution, enter a value after the prompt and then press
Í
.
The value is stored to
variable
, and the program resumes execution.
Input
[
"
text
",
variable
]
Input
[
Str
n
,
variable
]
Note:
When a program prompts for input of lists and
Y
n
functions during execution, you
must include the braces (
{ }
) around the list elements and quotation marks (
"
) around
the expressions.
Program
Output
Summary of Contents for -84 Plus
Page 1: ...TI 84 Plus TI 84 Plus Silver Edition Guidebook...
Page 213: ...Chapter 8 Draw Instructions 210...
Page 248: ...Chapter 10 Matrices 245 row value matrix rowA rowB...
Page 332: ...Chapter 12 Statistics 329...
Page 413: ...Chapter 14 Applications 410...
Page 427: ...Chapter 15 CATALOG Strings Hyperbolic Functions 424 sinh 1 value cosh 1 value sinh 1 value...
Page 496: ...Chapter 17 Activities 493 If C A and D B Stop Goto Z Quit if guesses are correct...
Page 672: ...Appendix C Service and Warranty Information 669...