program NaturalLogarithm;
vara, b, c: real;maxNumber, result: real;
beginwriteln('Enter three numbers:');readln(a, b, c);
if (a > b) and (a > c) thenmaxNumber := aelse if (b > a) and (b > c) thenmaxNumber := belsemaxNumber := c;
result := ln(maxNumber);
writeln('Natural logarithm of the maximum number is: ', result:0:2);end.
program NaturalLogarithm;
var
a, b, c: real;
maxNumber, result: real;
begin
writeln('Enter three numbers:');
readln(a, b, c);
if (a > b) and (a > c) then
maxNumber := a
else if (b > a) and (b > c) then
maxNumber := b
else
maxNumber := c;
result := ln(maxNumber);
writeln('Natural logarithm of the maximum number is: ', result:0:2);
end.