how to set up while statements in java code example
Example: while loop java
//runs as long as the condition is true
while(condition){
//do what you want in here
doStuff()
}
//runs as long as the condition is true
while(condition){
//do what you want in here
doStuff()
}