Forest loves candy and math very much. Therefore, he decided to eat candy according to a certain formula , where is the row number, is the column number and is the modulus operator. Which candies will remain in a square box of size when he eats all the candies according to the formula?
function reggae(n, k):
for i in (1, n):
for j in (1, n):
if (i + j) mod k == 1 then:
print("*")
else:
print("o")
println() //new lineIn other words, what will the program output when calling the function with the arguments and ?
Note: The figures in the answer choices below represent the different arrangements of (empty space from eaten candy) and (candy not yet eaten) in the square box. A better way to solve this problem is to draw the square box using pen and paper, and run through the given pseudocode.