Here I made a function that takes in two parameters (topLeft, bottomRight) which are used to calculate the Area & Permimeter of a rectangle.
zanderlx21 / calcultaing-area-perimeter-with-javascript Goto Github PK
View Code? Open in Web Editor NEWUsing a function to measure Area & Perimeter