- Scala Programming Projects
- Mikael Valot Nicolas Jorand
- 41字
- 2021-07-23 16:25:19
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.