Skip to content
CampusEduX

Circle Area with a PI Constant

Easyjava
Learn the Concept: Constants

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.

Related Problems

Input (stdin)

Output

Run your code to see output here...