Question: Can someone explain to me why the answer is 2 3 4 2 5 2 3? I know that is the answer but when I

Can someone explain to me why the answer is 2 3 4 2 5 2 3? I know that is the answer but when I do this problem I get 2 2 to start.
public static void func5(int n ) \{ if (n==0n==1) return; func 5(n1); System.out.print( (n+" " "); func5(n-2); \} What does func5(5) print? 353 232423252324232 3252432 2342523
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
