Type: Posts; User: helloworld922
numbers[x]=((x-2)+(x-1)); Take a careful look at this line and you may find your second problem.