• + 0 comments
    const PI = Math.PI;
    const r = readLine();
    
    // Print the area of the circle:
    console.log(`${PI * Math.pow(r, 2)}`);
    
    // Print the perimeter of the circle:
    console.log(`${2 * PI * r}`);