Crate test_crate_01

Source
Expand description

§test_crate

A simple crate that provides functionality for calculating the area, volume, and perimeter of a rectangle.

Functions§

area
Calculates the area of a rectangle given its length and width.
get_data
Calculates the area, volume, and perimeter of a rectangle given its length, width, and height.
perimeter
Calculates the perimeter of a rectangle given its length and width.
volume
Calculates the volume of a rectangular prism given its length, width, and height.