ex21.pp 281 B

123456789101112131415
  1. Program Example21;
  2. { Program to demonstrate the log10 function. }
  3. Uses math;
  4. begin
  5. Writeln(Log10(10):8:4);
  6. Writeln(Log10(100):8:4);
  7. Writeln(Log10(1000):8:4);
  8. Writeln(Log10(1):8:4);
  9. Writeln(Log10(0.1):8:4);
  10. Writeln(Log10(0.01):8:4);
  11. Writeln(Log10(0.001):8:4);
  12. end.