diff --git "a/level-00/0.4-\355\225\250\354\210\230-\352\270\260\353\263\270/solution.ts" "b/level-00/0.4-\355\225\250\354\210\230-\352\270\260\353\263\270/solution.ts" index e81f784..23b2cb1 100644 --- "a/level-00/0.4-\355\225\250\354\210\230-\352\270\260\353\263\270/solution.ts" +++ "b/level-00/0.4-\355\225\250\354\210\230-\352\270\260\353\263\270/solution.ts" @@ -13,6 +13,8 @@ export interface RectangleInfo { } export function solution(width: number, height: number): RectangleInfo { - // TODO: 구현하세요 - throw new Error("아직 구현되지 않았습니다"); + return { + area: width * height, + perimeter: 2 * (width + height) + } }