pascal readln()

The readln function in Pascal is used to read input from the user. It reads a line of text from the standard input and assigns it to a variable. For example:

var
   name: string;
begin
   writeln('Enter your name: ');
   readln(name);
   writeln('Hello, ', name);
end.