What is returned as a result of calling mystery(1)?
public static int mystery (int x) {
if (x == 5){
return x;
} else {
return mystery(x--) * 5;
}
}
Answers
Answered by
3
Answer:
delete this to pldssssssssss
Explanation:
What is returned as a result of calling mystery(1)?
public static int mystery (int x) {
if (x == 5){
return x;
} else {
return mystery(x--) * 5;
}
}
Attachments:
Answered by
0
public static int mystery (int x) {
if (x == 5){
return x;
} else {
return mystery(x--) * 5;
}
}
Similar questions
Math,
5 months ago
English,
5 months ago
English,
5 months ago
Biology,
10 months ago
Psychology,
10 months ago
Accountancy,
1 year ago