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.
In here,the kata test will call your function and check what you return.
And
System.out.println()
will just print to console, won't return anything.Not an issue. Not even a question either, because this is a basic language features question, not a kata question.
Please consult the basic language features of your language.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
That's the initial code for java, you don't need to ask the user for input in CW, your function takes an int as parameter.
This comment is hidden because it contains spoiler information about the solution