Consider the following method that converts a positive decimal number to base 8 and displays the result.
public static void displayOctal(int n){
if (n>0) {
if (n/8 > 0) {
displayOctal(n%8);
} // end if
System.out.println(n%8);
} // end if
} // end displayOctal
a. Trace the method with n = 88.
b. Describe how this method answers the four questions for constructing a recursive solution.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.