0

Hi i'm new here ,and i'm still rookie at working with C++ Builder 6

I have a task ,which i don't understand. My task is like that :..

Number array E (m,n) and i need to

replace all the line and column even(oddly) numbers to 0(zero).

Please im praying you all to show me how the exact formula looks like.

p.s.

example of formula which is replacing first line of array to 0

```
void TForm1::Change()
{
for (int i = 0; i < n; i++)
for (int j = 0; j < m; j++)
if (A[i][j] % 2 == 0)
A[i][j] = 0;
}
```

but still i dont think i need this one :) waiting for your replies.

*Edited 7 Years Ago by Nick Evan*: Add code-tags