Skip to content

Commit 512b71e

Browse files
committed
added conditionals_And_Loops\While_Loops.java
1 parent 6820b7b commit 512b71e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
package conditionals_And_Loops;
2+
3+
public class While_Loops {
4+
public static void main(String[] args) {
5+
6+
int counter = 0;
7+
while (counter <= 10) {
8+
System.out.println(counter);
9+
counter++;
10+
}
11+
12+
13+
14+
15+
16+
17+
18+
19+
20+
}
21+
}

0 commit comments

Comments
 (0)