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.
You can't have a negative number of toasts.
The instructions aren't clear. It looks that you want us to code a solution that fits any case. But even if you don't, it's not clear.
Let's explain. If the father is 66, then it comes out 55 (22 + 33 = 55). Why should I expect this father to have double the age of his son. There is no clue for that.
This comment is hidden because it contains spoiler information about the solution
I don't understand, give me an example.
You should say in the description that you expect all the results to be posistive, but it means that whatever result you get, you will never know if you need more or less toasts.