X Tutup
Skip to content

Commit aee3f61

Browse files
authored
added tricky functional question
1 parent 976db17 commit aee3f61

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Binary file not shown.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package chapter2question15tricky;
2+
3+
public class Chapter2Question15Stricky {
4+
5+
public static void main(String[] args) {
6+
// TODO Auto-generated method stub
7+
int x =1, y = 15;
8+
9+
while (x<10) {
10+
y--;
11+
x++;
12+
}
13+
14+
System.out.println(x+", "+y);
15+
16+
}
17+
18+
}

0 commit comments

Comments
 (0)
X Tutup