Hello all, i'm a beginner in java, i want ask to you all, how to make rekursif programm that implements user input and translate to word, ex:

input : 1000
output : one thousand


please help me.....,
remember this programm must use rekursif method!

ex:

public int test(int test){

if(test<2){
return test;
}
else{
return test*test(test-1);
}