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.
Tests are passable in C and C++ without even declaring floats
Yes thank you. That test is useless or should be True. You can make the angle between 1 and 2 wider enough until line 3 builds a triangle. This kata is not well built. The only way to solve this kata is to modify the solution until you trick all the tests.
they pass because the test only inlude even diferents between the percentages, wich made the division exact, causing zero decimals in the solution, making it irrelevant if you use float or int. The easy solution to fix it, is to return a float.
It is perfectly possible: 68 guys passed the kata...
you can build a triangle with 3 2 1
c should be remove from the lenguages abiable, due to the inability to pass from a float to an int.
I really did it the hard way, then i saw the solutions(mindBlown).
Thanks to the author, learnt some Array methods because of you, nice Kata.
It should be helpful if you state which language and show your code (mark your post as having spoiler content). Otherwise there is nothing we can do to help you.
dosen't work fo me