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.
This is wrong.
A function can't return multiple values. You don't need a break in this case because once "Eight" is returned, the function doesn't continue.
You have to pay attention: without break; the switch executes all code after finding a match (for example: if imput is 8 your function will return "Eight" and then "Nine" because a break; is missing)!
You don't have a case for 0. When number=0, your code needs to return "Zero". But because there is no 0 case, it goes to the default and returns number instead.