Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 411 Bytes

volume_of_a_cuboid.md

File metadata and controls

12 lines (10 loc) · 411 Bytes

Description

Bob needs a fast way to calculate the volume of a cuboid with three values: the length, width and height of the cuboid. Write a function to help Bob with this calculation.

My Solution

def get_volume_of_cuboid(length, width, height)
  length * width * height
end