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

View File

@@ -0,0 +1,22 @@
# Hints
## 1. Calculate the success rate
- You need to translate the speed into a success rate, using the rules given in the instructions.
- The returned value is a floating-point number.
- Julia does not have the `select`/`case` syntax present in some other languages, but the Introduction discussed `if-else` syntax.
## 2. Calculate the production rate per hour
- The total theoretical production rate depends on the base production rate (a constant) and the speed.
- Return the actual production rate, which also depends on the success rate.
## 3. Calculate the number of working items produced per minute
- The hourly production rate was calculated in task 2.
- This task requires the rate per minute.
- Only complete, working cars are counted in this exercise, so you will need to remove part-complete cars from the count.
- The return value must be an integer (for example `7`, not `7.0`).
- The [Numbers][numbers] Concept already discussed ways to round values.
[numbers]: https://exercism.org/tracks/julia/concepts/numbers