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.
Each of them going to be false and true sometimes. When the condition return true or false, even it return true fullfilling the condition.
This comment is hidden because it contains spoiler information about the solution
The
.to_i
is redundant sincesalary*10
is still a integer. The== true
could be left off since bonus is already a boolean the comparision isn't necessary.