projects
/
cacao.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* link missing classes
[cacao.git]
/
tests
/
HI2.java
1
public class HI2 {
2
public static int max1(int i, int j) {
3
4
if (i > j)
5
return i;
6
else
7
return j;
8
}
9
10
public static void main(String[] args) {
11
int i;
12
int j;
13
int k;
14
for (i=0; i<10; i++) {
15
j = (i*2)-5;
16
k = max1(i, j);
17
}
18
}
19
}