Read from keyboard



Use read (the cursor stays on the same line) , readln (the cursor goes to the next line).
eg.
program a2;
var
   a:integer;
begin
       readln(a);
       writeln(a);
end.