This command is used to read a line from the default input stream.
variable = ask
Variable − The variable to store the value entered by the user.
/* Main program */ input = ask say input
When we run the above program we will get the following result. If we input the value hello, we will get the output of hello.