Skip to content

Area Calc Answer

STOP

Danger zone, do not proceed unless you gave it your all!

Click me to view the code
js
const areaCalc = (height, width) => { 
    let area = height * width 
    let paintCans = Math.ceil(area / 5) 
    return paintCans 
} 
console.log(areaCalc(2, 4));