x is what gets incremented.For instance it starts out at x=1 then x=2 then x=3 when we have summation of x from x=1 to n.my question is equivalent to the following loop
for(int i=1;i<n;i++){
for(j=1;j<i;j++){
for(k=1;k<j;k++){
.
.
.
x=x+1;
.
.
.
}
}
}
thankx.