Day 1: Let and Const
Problem Link
Solution
let r = readLine();
const PI = Math.PI;
console.log(PI * r * r);
console.log(2 * PI * r);
Last updated
Was this helpful?
let r = readLine();
const PI = Math.PI;
console.log(PI * r * r);
console.log(2 * PI * r);
Last updated
Was this helpful?