Why would this code only run if i remove the Total = 0 in the while(Total != N) loop and wouldn\'t run if i didn\'t remove it? but the problem is i need to use that total = 0 in