The INPUT statement is the usual command for reading values from the user into the program, while it is running. It has two forms:
INPUT variable_list
INPUT "prompt", variable_list
where variable_list is a list of variables that are separated by commas. The variables may be any combination of string and numeric variables, but no constants or expressions. The prompt is a literal string that informs the user of what is desired.
When the input is typed in, commas must separate values.
Links:
First BASIC Statements