"카타 8급 Volume of a Cuboid"의 두 판 사이의 차이

잔글 (봇: 카타 8급 PHP 분류 추가)
잔글 (봇: 자동으로 텍스트 교체 (-분류:PHP +))
21번째 줄: 21번째 줄:


[[분류:C++]]
[[분류:C++]]
[[분류:PHP]]
 
[[분류:카타 8급 PHP]]
[[분류:카타 8급 PHP]]

2019년 2월 3일 (일) 04:03 판

1 개요

카타 8급 C
# 🔗 문제 풀이

틀:카타 8급-37

2 C++

double getVolumeOfCubiod(double length, double width, double height) {
  return length * width * height;
}

3 PHP

$kata = new class {
  public function get_volume_of_cuboid($length, $width, $height) {
    return $length * $width * $height;
  }
};
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}