Given the radius () of a circle you have to calculate the ratio between the circumference () of the circle and its diameter ().
The circumference of a circle is its enclosing boundary. It is calculated as .
The diameter of a circle is any straight line segment that passes through the center of the circle and whose endpoints lie on the circumference of the circle.
For this problem, you have to calculate the ratio . You have to print the answer accurate to 5 decimal places.
The input will contain a single floating point number ().
Print the ratio as a floating point number accurate to 5 decimal places.
Input | Output |
---|---|
3 | 3.14159 |