Here is one of my pitiful attempts
if coil_array.coil[y] = min_coil_array[y];
if coil_array.cc[y] != min_cc[y]
coil_array.cc[y] = min_cc[y];
Can you help me since the arrays are different sizes
- Yes I want to make coil_array.cc[i] = min_cc[i] when coil_array.coil[i] == min_coil.array[i] and coil_array.cc[i] != min_cc[i].
I can't tell from your description whether the second if statement should be done only when the first if statement is true, or not.
- The sizes of the array are different. I will try to figure out how to handle that but if you could help that would be great!
Anyways thanks for your help up to this point and I will never name my array's "array" anything again.