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.
don't do this; although it works, you shouldn't use the same name for different variables.
Since integer division drops remainders,
(eggs + 7) / 8
is the same as(eggs / 8.0).ceil
wheneggs
is an integer. But we don't do a float division, which is possibly slower than an integer division.How does this work?
O_o wow