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?
That is perfect solution!
very elegant!
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
I am glad I am not the only one who got this same solution! Math class came in handy.
Got the same solution, great! :)
First time knowing that there's a way to check if three values can form a triangle...
What in this solution excludes negative variable values?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I wish I knew math, thanks for nothing high school
Same here. 👍
This comment is hidden because it contains spoiler information about the solution
Loading more items...