Back
Close

Circle's Dimensions

Statement
Print the diameter, circumference and the area of a circle with knowing it's radius. Round the circumference and area to two decimal places. The formula for calculating the diameter for a circle is <<d = 2r>> The formula for calculating the circumference for a circle is <<c = 2𝜋r>> The formula for calculating the area for a circle is <<a = 𝜋(r^2)>>

Input description
<<Line 1:>> A float [[radius]] for the radius of the circle

Output description
<<Line 1:>> The diameter of the circle <<Line 2:>> The circumference of the circle <<Line 3:>> The area of the circle

Constraints
1 ≤ [[radius]] ≤ 9^9

Game modes

Test cases
Whole numbers Test
Input
3
Output
6 18.85 28.27

Validator 1 Validator
Input
5
Output
10 31.42 78.54

Not whole numbers Test
Input
5.4
Output
10.8 33.93 91.61

Validator 2 Validator
Input
7.3
Output
14.6 45.87 167.42

Big Test
Input
57.6
Output
115.2 361.91 10423.05

Validator 3 Validator
Input
63.7
Output
127.4 400.24 12747.61

HUGE! Test
Input
984.253
Output
1968.506 6184.24 3043430.35

Validator 4 Validator
Input
673.412
Output
1346.824 4231.17 1424661.13

Solution language

Solution

Stub generator input