Problem Statement
Write a program that calculates the natural logarithm (base e) of a number using log.
DEMO-C-32 โข Programming in C
Write a program that calculates the natural logarithm (base e) of a number using log.
A single positive floating-point number.
The natural logarithm formatted to 2 decimal places.
Submit runs every public testcase in this browser. Results and code never leave this device.
2.718
1.00
10.0
2.30
0.5
-0.69
5.0
1.61
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question