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.
This code checks the type of bmi and validates it's a double in addition to checking if the value falls in the range specified.
I'm not sure why they want to check the type in this situation. It's a bit confusing.
This comment is hidden because it contains spoiler information about the solution
Who can explain importance/necessity of such solution?
I'm a newbie so I thought about switch-case solution, but I do not understand "i when" - what is it?)
omg... I did it... at random...20 mins... omg
Could you please share a link where I can read more about this solution)
Could you please share a link where I can read more about this solution)
Could you please share the link where I can read more about this solution)