slide-image
728x90

문제 : 

 

코드 : 

-> 이 문제의 키포인트는 올림을 해주는 Math.ceil 메소드이다! 참고로 버림은 Math.floor, 반올림은 Math.round 이다!!

 

결과 :