
Recursion question?
I'm really not even sure what this question is asking. This is on a practice test for my exam on Recursion. Any help would be great....direction to take, etc
Write a recursive method
public String changeBase( int number, int base)
to change a base 10 number to another base between 2 and 9, returning the result as a string
of digits. If number is 0, return an empty string. Otherwise, append number modulo base onto
the result of a recursive call to changeBase of number divided by base and the new base. For
example, to convert 20 to base 8, calling changeBase( 20, 8) causes (20 % 8) to be appended
onto changeBase( 2, 8).
Thank you for your time!!

Re: Recursion question?

Re: Recursion question?
Nice homework dump. What is your question?