Doubt regarding code

In line 14 and 18, it should be i or n inside if condition, like

Line - 14 if(i%3 ==0) OR if(n%3 == 0)
Line - 18 if(i%2 ==0) OR if(n%2 == 0)

i OR n?

@ksalokya it should be “i” not n there.

thank you…