Daniel Holle
295bf079b9
Some checks failed
Build and Test with Maven / Build-and-test-with-Maven (push) Failing after 6m15s
21 lines
276 B
Java
21 lines
276 B
Java
import java.lang.Integer;
|
|
import java.lang.Long;
|
|
import java.lang.Double;
|
|
|
|
public class While {
|
|
public m(x) {
|
|
while(x < 2) {
|
|
x = x+1;
|
|
}
|
|
return x;
|
|
}
|
|
|
|
public m2() {
|
|
int i = 0;
|
|
do {
|
|
++i;
|
|
} while(i < 10);
|
|
|
|
return i;
|
|
}
|
|
} |