Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Thanks four your feedback. I didn't look at it in this way. :)
Even though it might look stupid to call CalculateYears() like this, would the following scenario work as expected?
principal = 1000
desiredPrincipal = 900
The break at the end of the while loop can be removed and the while statement can be updated to make the loop easier to read and functionally more rich (i.e. also supporting the above scenario) in one go.
Kind regards,
Maurice