Skip to content

While Loop

Entry-controlled loop using while.

package DSA.Flow_control;
public class wloop {
public static void main(String[] args) {
int c = 0;
while (c < 100) {
System.out.println(c);
c++;
}
}
}