Dont know if this has been answered or not, but you are using local variables, and expecting a global change. You have to either make i global, or change within the main method
Type: Posts; User: Johannes
Dont know if this has been answered or not, but you are using local variables, and expecting a global change. You have to either make i global, or change within the main method