ex1.pp 166 B

123456789101112
  1. Program Example1;
  2. { Program to demonstrate the Abs function. }
  3. Var
  4. r : real;
  5. i : integer;
  6. begin
  7. r:=abs(-1.0); { r:=1.0 }
  8. i:=abs(-21); { i:=21 }
  9. end.