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.
Nice! I didn't know about that. Powerful s#*t !
what if the char value is equal to 5 and your code will follow into else condition, I think it is better to use else if instead
I solved this the same way except i converted the numberString.charAt(i) to an int before using it in the if statment and used the 5 as an int. I did not think that it would know what to do with the 5 as a char. Clearly I did not need to do that. I guess my question is how does java know?
Great solution!
C++ style
if you only want one statement run after the condition, the curly braces is not necessary
you dont need the curly braces??