“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
Pete Letkeman wrote:If this is an loop that will always execute at least once then I suggest that you use a do while loop. Here is the Oracle Java tutorial on control flow statements https://docs.oracle.com/javase/tutorial/java/nutsandbolts/flow.html and here is the part about do while and while loops https://docs.oracle.com/javase/tutorial/java/nutsandbolts/while.html I think that this should help point you in the correct direction.
Brett Banich wrote:I appreciate the response. Ill read up on while loops.
All things are lawful, but not all things are profitable.
Tim Driven Development | Test until the fear goes away