• + 0 comments

    const PI = Math.PI; const r = parseFloat(readLine());

    let area = PI * r * r console.log(area)

    let perimeter = 2 * PI * r console.log(perimeter)