can you write a for loop in a while loop java code example
Example: what is a do while loop in java
do {
//something you want to execute at least once
} while (someBooleanCondition);
do {
//something you want to execute at least once
} while (someBooleanCondition);