• + 0 comments

    const PI = Math.PI; let r = parseFloat(readLine()); // Print the area of the circle: let area = PI * r * r; console.log(area); // Print the perimeter of the circle: let perimeter = 2 * PI * r; console.log(perimeter);