You are viewing a single comment's thread. Return to all comments →
function getArea(length, width) { let area; area = length * width; return area; }
function getPeriemeter(length, width) { let periemter; periemeter = length *2 + width*2; return periemeter; }
return area;
}
Seems like cookies are disabled on this browser, please enable them to open this website
Day 1: Arithmetic Operators
You are viewing a single comment's thread. Return to all comments →
function getArea(length, width) { let area; area = length * width; return area; }
function getPeriemeter(length, width) { let periemter; periemeter = length *2 + width*2; return periemeter; }
}