The function ComputeSum receives a positive integer n as the input and returns the value ComputeSum (n) =j=1n (j+2)j2 ComputeSum (n) If n = 1, then Return (3) y := ComputeSum (n 1) Return ( ? ) What is the correct value for the algorithm to return?
a.у
b.y+n
c.(y+2) y2
d.*y+ (n+2) n2

Q&A Education