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.
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
Same way I ended up doing it too.
I like this one
Its beautiful.
Equal , good
This comment is hidden because it contains spoiler information about the solution
Hard to read
very understandable
I do not see right solutions, if we have class points without yours.
We need to add to class points your points and devide this sum by classPoints.length + 1.
You can make your code shorter by using template literals instead of concatenating it with + operator
Thanks!
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?
Well done solution.
Also just return while check.
This is pretty cool. Good job.
C++ style
Loading more items...