~/algor $ cat problems/gradusdan-radianga
Degrees to radians
Easy
1000 ms
64 MB
12%
The degree measure $d$ of an angle is given. Find its radian measure $\alpha$:
$$\alpha = \frac{d * \pi}{180}$$
Use $\pi = 3.141592653589793$.
Input
One integer $d$.
Output
One number — $\alpha$, with exactly 4 digits after the decimal point (for example, 0.7854).
Note
$0 \le d \le 360$
Examples
Input #1
180
Output #1
3.1416
Input #2
45
Output #2
0.7854