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 solution didnt work for me as the else part didnt add the 15 for first year and 9 for second year and directly just kept on adding the 4 for cat and 5 for dog.
Yes, I have just checked. Thank you!
Yes. I suppose the max value we get is 35. Please check again as we can't swap the operands (position of values a,b,c)
No, you can't swap the numbers.
This comment is hidden because it contains spoiler information about the solution
A solution is not a kata suggestion - see this.
This comment is hidden because it contains spoiler information about the solution