Skip to content

Commit 81de405

Browse files
author
TekkitCommando
committed
Added Example3
1 parent ef67fa3 commit 81de405

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package org.sourceforums.tutorial;
2+
3+
public class Example3 {
4+
5+
public static void main(String[] args) {
6+
int count = 0, amount = 10;
7+
8+
while(count < amount) {
9+
System.out.println("Count: " + count);
10+
11+
count++;
12+
}
13+
14+
}
15+
16+
}

0 commit comments

Comments
 (0)