http://tinyurl.com/p8lxjn6 its my homework link and I tried to do my homework but I couldnt :( so please fix my homework or give me an idea to new one I have short time please
At some point you should have stopped and questioned what were you doing in line 20.
You need to understand the pattern, it swaps from + to *, so you can have
The order of the checks is irrelevant, so you may do all the odd rows first (you know that the operation would change columns/2 times between rows), and just jump out of the empty cell
1 2 3
for(int K=0; K<rows; K+=2) //odds rows
for(int L=1; L<columns; L+=2) //the event start in the second column
//...
Be careful to with the borders, make sure to check that the indexes are valid.