• + 10 comments

    function main() {

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