4 ms·
You should save the old value of i somewhere and restore it back at the very end of the loop. Or simply define a new j like another comment says.
by Banana699 4y ago
You should save the old value of i somewhere and restore it back at the very end of the loop. Or simply define a new j like another comment says.