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.
Yes, avoid it ever becoming a large number!
Or is there a way to do it in java without using math.round or DecimalFormat?
@siebenschlaefer does this mean that this one can't be completed in java until it is fixed? My quest to finish all the 8kyu in java is going down the drain haha
Passing the boolean values in as an array would make the code more readable and the booleans more navigable. Either way it is a lot of hard coding, unless you wanted to make it into more of a HashMap kata where the parts are the key and the boolean is the value of those keys. It's not bad though, I think it will be great.
maybe its better if you put all the companants in an array...
Sorry! :D
you'd spoil the only interest of the kata for beginners, so... ;)
This comment is hidden because it contains spoiler information about the solution
Ok, I understand your point
Thank you
Kata creation is for contributing to the site content, not for playing around...
I'm alright with that, the point of me writing a kata right now is just to see another way to use java instead of just completing other people's katas.
We already have many katas asking you to "compare numbers and return a corresponding string", so it's a duplicate.
No, but it adds another step to parse it. Thank you for your strongly worded but still appreciated response
Why on earth did you even come up with it?! Do you always store your numbers as strings so they can be parsed into actual numbers when you need it?
You're literally saying "I couldn't come up with any good ideas to not make my kata absolutely uninspired and bland, so I just threw in some random stuff so the user has more annoying operations to do".
I'll look into StringBuilder, I've seen some people use it in their solutions in other Kata. Thank you
Loading more items...