From 2e2f1eab4533e7082ce4f13953a2652edd0f532a Mon Sep 17 00:00:00 2001 From: Michele Sessa Date: Thu, 6 Oct 2022 15:38:50 +0100 Subject: [PATCH] docs(does_it_fit): introduce functions arguments more explicitly --- subjects/does_it_fit/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/subjects/does_it_fit/README.md b/subjects/does_it_fit/README.md index 2ed2e4b08..e5f368c0b 100644 --- a/subjects/does_it_fit/README.md +++ b/subjects/does_it_fit/README.md @@ -6,6 +6,7 @@ Use the `areas_volumes` module provided to create two **functions**. Create `area_fit`. It should return `true` if the geometric shape can fit inside the rectangular area as many times as is indicated by `times`. +The arguments of the function will be: - `x` and `y`: length and width of the rectangular area. - `objects`: the type of geometric shape. - `times`: the number of geometric shapes to fit inside the rectangular area. @@ -19,6 +20,8 @@ Create `area_fit`. It should return `true` if the geometric shape can fit inside - `side_b` of a `Rectangle` Create `volume_fit`. It should return `true` if the geometric volume can fit inside the box as many times as is indicated by `times`. + +The arguments of the function will be: - `x`, `y` and `z`: length, width and depth of the box. - `objects`: the type of geometric volume. - `times`: the number of geometric volumes to fit inside the box.