Area of a circle

Report a typo

Write a program that reads a radius R and calculates the area of a circle with a given radius.

Use this formula: S=πR2S = \pi R^2.

Where S S – an area of a circle, π \pi is 3.1415, and R R – the radius of the circle.

Input: one number of type Int.

Output: one real number.

Do not format or round your result. Use the given value of π\pi.

Sample Input 1:

25

Sample Output 1:

1963.4375
Write a program in Kotlin
fun main() {
// write your code here
}
___

Create a free account to access the full topic