What will be the output value for the following code snippet
(2 points)
i function (a, b) {
2 if (a < b) {
3
return 0
4 }
5 else if (b != 0) {
6
return (a * function (a, b - 1))
7 }
8 else {
9
return 1
10 }
11 }
12
13 print (function (5,5))
Answers
Answered by
0
Explanation:
function (a, b) {
2 if (a < b) {
3
return 0
4 }
5 else if (b != 0) {
6
return (a * function (a, b - 1))
7 }
8 else {
9
return 1
10 }
11 }
12
13 print (function (5,5))
Similar questions