JAVA QUESTION: NEED HELP WITH NUMBER 7
6. The following Java method converts a positive decimal integer to base 8 (octal) and displays the result Perform a box trace for the input n 100, and determine the ouput. static void displayOctal (int n) l if (n>0) if (n/8>0) displayOctal (n/8) System.out.println(n%8); 7. Use what you learned in problem 6 above to create a recursive function called integerTostring that returns a String representation of an integer n
OR
OR