fork download
  1. program ideone;
  2. var x:integer = 289;
  3. var y:integer = 17;
  4. var z:real = (289 / 17);
  5. begin
  6. writeln('The Pascal 3.04 Divide 2 Numbers Program.');
  7. writeln('X ', x);
  8. writeln('Y ', y);
  9. writeln('Z ', Round(z));
  10. end.
Success #stdin #stdout 0s 5284KB
stdin
1
2
10
42
11
stdout
The Pascal 3.04 Divide 2 Numbers Program.
X 289
Y 17
Z 17