Back
Close

Area of a circle

Statement

 Goal

You have to find area of circle.
Hint:
Use pi = 3.142.
Input
r is a radius of a circle.
Output
Area of Circle.
Constraints
None
Example
Input
2
Output
12.568

Game modes
Reverse

Test cases
Test 1 Test
Input
2
Output
12.568

Validator 1 Validator
Input
5
Output
78.55

Test 2 Test
Input
10
Output
314.2

Validator 2 Validator
Input
12
Output
452.448

Test 3 Test
Input
15
Output
706.9499999999999

Validator 3 Validator
Input
20
Output
1256.8

Test 4 Test
Input
22
Output
1520.728

Validator 4 Validator
Input
25
Output
1963.75

Solution language

Solution

Stub generator input