• + 1 comment

    can you explain why "n/i" in this code?

    sum = sum + i + n/i;