In java, Is there a way to loop through each time a number is greater than another number then reset the first number to 0, and raise the 2nd number by a set value then do it all over again once the first number gets higher than the 2nd number?
int number1 = 6517253;
int number2 = 7195629;
I’d go with the following code…