Skip to content
C

Circle Area with a PI Constant

Easyjava

Declare final double PI = 3.14159; and use it to compute the area of a circle from its radius.

Input: one integer — the radius.

Output: one line — the area (PI x radius x radius) rounded to two decimal places.

Input (stdin)

Output

Run your code to see output here...