Skip to content

Commit 0e136d6

Browse files
Update do_while.java
1 parent 2f041b4 commit 0e136d6

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

do_while.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
public class do_while {
2-
public static void main(String[] args) {
1+
public class do_while
2+
{
3+
public static void main(String[] args)
4+
{
35
int i=1;
4-
do{
6+
do
7+
{
58
System.out.println(i);
69
i++;
7-
}while(i<=10);
10+
}
11+
while(i<=10);
812
}
913
}

0 commit comments

Comments
 (0)