Comment voulez-vous commencer à écrire une boucle while en java?
Exemples de code
0
0
comment utiliser la boucle while en java
int count = 10;
while(count < 10) {
System.out.println(count);
count++;
}
//while will run when if the condition is true
//if count is less then 10 the condition is true
//if count is more then 10 or equals to 10 it is false.