Pascal Language Tutorial
Programming in Pascal.
Pages
Home Page
Programming Languages Tutorials
Why Pascal ?
Why this tutorial ?
Is Pascal an old language ?
Compiler
Output on screen
Read from keyboard
Variables
Integers
Reals
Characters
Strings
Boolean
Control structures - Selection
if Structure
case structure
Control structures - Loops
Your Opinion
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.
Home
Subscribe to:
Posts (Atom)