fork download
  1. program ideone;
  2. var x:integer = 10;
  3. var y:integer = 10;
  4. var z:integer = (10 + 10);
  5. begin
  6. writeln('The Pascal Add 2 Numbers Program.');
  7. writeln('x ', x,' Y ',y,'Z ',z);
  8. end.
Success #stdin #stdout 0s 5284KB
stdin
1
2
10
42
11
stdout
The Pascal Add 2 Numbers Program.
x 10 Y 10Z 20