How many multiplications are performed when the following code fragment is executed? Express your answers in terms of $n$, where $n \geq 10$.
for(i = 1; i < n; i = i + 2) for(j= 0; j <= i; j++) a[i][j] = a[i][j]*0.001;
Would anyone be able to help me solve it with steps included? I did some other examples and solved them using a double summation, but my algebra skills are lacking when variables are introduced in the inner loop.