Some solutions for the julia path

This commit is contained in:
2025-08-04 19:44:03 +02:00
parent 5c52e8e34d
commit 8296c79f68
104 changed files with 4373 additions and 0 deletions

26
julia/lasagna/HINTS.md Normal file
View File

@@ -0,0 +1,26 @@
# Hints
## General
- You will need to define [functions][functions] and use [arithmetic operators][arithmetics].
## 1. Store the expected bake time in a constant
- Define a [const][const] to store this value.
## 2. Calculate the preparation time in minutes
- Use the [`times` arithmetic operator][arithmetics] to multiply the argument by `2`.
## 3. Calculate the remaining oven time in minutes
- Use the [`minus` arithmetic operator][arithmetics] to subtract the argument from `60`.
## 4. Calculate the total working time in minutes
- Reuse the `preparation_time` function defined in the first step.
- Use the [`plus` arithmetic operator][arithmetics] to add the return value of `preparation_time` to the argument.
[const]: https://docs.julialang.org/en/v1/base/base/#const
[functions]: https://docs.julialang.org/en/v1/manual/functions/
[arithmetics]: https://docs.julialang.org/en/v1/manual/mathematical-operations/#Arithmetic-Operators-1