Q19Comprehension4 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
```
What does calculate(5, 3) return?
Press Enter to check.