I assume you want to print the textual form of a number, so for example to turn the number 123 into the
String "123"?
If so check out the Integer class. It has a method that will do what you want.
You don't seem to be using your array though, what is it for?
Also, arrays start at index 0, so if that for loop is for operating over the array it will have to be for indexes 0-9, not 1-10.