can someone help me out, im stuck. what im trying to do is square each value that the array holds, but my loop only squares the array index, not the value that it holds. any suggestions?

j[0] =4
j[1] =2

my loop only squares 0^2 =0 and 1^2 =1, instead of 4^2 and 2^2
Code:
for (j=0;j<count;j++)
    {
        numbers[j]= pow(j,2);
    }