ex19.pp 147 B

12345678910
  1. Program Example19;
  2. { Program to demonstrate the ldexp function. }
  3. Uses math;
  4. begin
  5. writeln(ldexp(2,4):8:4);
  6. writeln(ldexp(0.5,3):8:4);
  7. end.