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.
Instructions say numbers shouldn't be negative or zero. So, if you had 2,4,-1 and the if statement isn't there to for int >=0 how does this solution account for it?
0+0 is not greater than 0 so it'll return false anyways
you can test it yourself, actually idk why but solution works right. if you pass zeros to the arguments the function returns false anyway
If we pass (0,0,0) or negative values? Seems this solution doesn't work