I need to execute two conditions for i and j simultaneously.
condition for i: for(i=1*counter; i<= len*7*counter; i++)
condition for j: for(j=len*7*counter; j>=1*counter; j--)
And then, when both these conditions are true, i need to execute bin[i-1]=temp[j-1];
What is the correct way of writing this?
Note: This is not a nested loop.
Is this the correct way?
for(i=1*counter && j=a*counter; i<=a*counter && j>=1*counter; i++ && j--)