You are viewing a single comment's thread. Return to all comments →
const PI=Math.PI; const r= readLine(); if (r >0 && r <= 100) { console.log(PI* (r*r)); console.log(r * 2 * Math. PI); }
Seems like cookies are disabled on this browser, please enable them to open this website
Day 1: Let and Const
You are viewing a single comment's thread. Return to all comments →
const PI=Math.PI; const r= readLine(); if (r >0 && r <= 100) { console.log(PI* (r*r)); console.log(r * 2 * Math. PI); }