I was revising for my algorithm exam and came across one question, which I didn\'t understand, how to solve it.Here is the example;
for (m=0; m