HackerRank Problem Link
JS Solution
let r = readLine(); const PI = Math.PI; console.log(PI * r * r); console.log(2 * PI * r);
Last updated 3 years ago
Was this helpful?