projects
/
mate.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' of wien.tomnetworks.com:mate
[mate.git]
/
tests
/
While.java
1
package tests;
2
3
public class While {
4
public static int f(int a, int b) {
5
do {
6
a += b;
7
b--;
8
} while (b > 0);
9
return a;
10
}
11
12
public static int g(int a, int b) {
13
while (b > 0) {
14
a += b;
15
b--;
16
}
17
return a;
18
}
19
}