counter to label A.
Value of ir.
End of program. Result
Data Input and Output
The calculator's variables are used to store data input, intermediate
results, and final results. (Variables, as explained in chapter 3, are
identified by a letter from A through Z, but the variables' names have
nothing to do with program labels.)
Entering Data Into Variables (INPUT)
The INPUT instruction (Hi input | variable) stops a running program
and displays a prompt for the given variable. This display includes
the existing value for the variable, such as
Prompt for information
The current value in the variable
5: Simple Programming