While looping in java
int number = 1;
while(number < 10){
System.out.println(number);
number += 1;
}
While looping in java
int number = 1;
while(number < 10){
System.out.println(number);
number += 1;
}
how to use while loop in 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.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us