- Scala Programming Projects
- Mikael Valot Nicolas Jorand
- 41字
- 2025-04-04 16:08:58
Simulating a retirement plan
Now that we know how to calculate the capital at retirement and after death, it would be useful to combine the two calls in a single function. This function will simulate a retirement plan in one go.