Ad

Given a radius of the circle,
return the area and the circumference of the circle in 2 decimal places.

function CircleArea(r){
return Number((Math.PI*r*r).toFixed(2));
}

function CircleCir(r){
return Number((Math.PI*r*2).toFixed(2));
}