ex112.pp 218 B

1234567891011121314
  1. Program example112;
  2. { Program to demonstrate the OctStr function }
  3. Const Value = 45678;
  4. Var I : longint;
  5. begin
  6. For I:=1 to 10 do
  7. Writeln (OctStr(Value,I));
  8. For I:=1 to 16 do
  9. Writeln (OctStr(I,3));
  10. end.