1 개요
- Day 1: Arithmetic Operators
- Tutorials - 10 Days of Javascript - Day 1: Arithmetic Operators
- https://www.hackerrank.com/challenges/js10-arithmetic-operators/problem
JavaScript
Copy
function getArea(length, width) {
return length * width;
}
function getPerimeter(length, width) {
return ( length + width )* 2;
}
2 같이 보기
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.