Day 1: Let and Const

Problem Link

Solution

letAndconst.js
let r = readLine();
    const PI = Math.PI;
    console.log(PI * r * r);
    console.log(2 * PI * r);

Last updated

Was this helpful?