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 for pointing out
While the clang++ compiler does a magnificent job of understanding the automatic typing between integers and doubles, I've had compilers in the past that would throw a hissy fit without explicity recasting the result.
Neat and clever
This comment is hidden because it contains spoiler information about the solution
How did you do this without getting a decimal place in the answer?