0
/ 3.0
Use the following recursive method:
public int mysteryMethod(int n) { if (n < 0) { return 5; } else { return mysteryMethod(n - 1) +...
Use the following recursive method:
public int mysteryMethod(int n) {
if (n < 0) {
return 5;
} else {
return mysteryMethod(n - 1) + mysteryMethod(n - 2);
}
}
What value will be returned from the call mysteryMethod(3)
?
Your feedback will appear here when you check your answer.