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.
can i get bonus points for letting the integer division do all the work instead of bringing in if/else or a modulus
Love it.
well done sir
Wow this was really tough for me, I'm not used to doing math like this.
Really needs more example tests for C#, there's only one positive outcome at a relatively low range, not very useful at all.
I initially did it by converting to a string first but didn't really like that. I'm a lot happier with this math-based solution.
This comment is hidden because it contains spoiler information about the solution