Q20Comprehension4 Marks3 Sep 2023
Passage
The procedure calculate takes two positive integers as arguments and returns an integer. Study the given pseudocode and answer the subquestions.
```
Procedure calculate(i, j)
if(j == 0){
return(i)
}
return(calculate(j + i, j - 1))
End calculate
```
Which of the following is the output returned by calculate(y, x)?