hi, can some one tell me. how to write a constraint for below question.
I have an array with size 100.
now I want values which are dependent on my odd and even indexes of array.
- for array[odd numbers]= even numbers should be assigned.
- for array[even numbers]= odd numbers should be assigned.