User input/Text: Difference between revisions

→‎{{header|Plain English}}: demonstrate how to use the contents of the variables
(→‎{{header|Plain English}}: demonstrate how to use the contents of the variables)
Line 1,733:
Read a string from the console.
Write "Enter a number: " to the console without advancing.
Read a number from the console.</lang>
\Now show the input values
Write "The string: " then the string to the console.
Write "The number: " then the number to the console.
</lang>
A sample run of the program:
{{out}}
<pre>
Enter a string: abc
Enter a number: 123
The string: abc
The number: 123
</pre>
 
=={{header|Pop11}}==
1,808

edits