+ = adds to:
i+=2;
there is i = i + 2;
% - balance: 126 % 10 is 6.
Expanding this logic, %= set to the rest of:
minutes%=60;
sets the minutes to minutes % 60 , that is, the remainder when minutes is divided by 60. This means that the minutes do not overflow for 59.
source share