21 lines
276 B
Plaintext
Raw Normal View History

2018-03-14 15:51:38 +01:00
import java.lang.Integer;
import java.lang.Long;
import java.lang.Double;
2018-03-14 15:51:38 +01:00
public class While {
2024-03-14 14:37:55 +01:00
public m(x) {
2018-03-14 15:51:38 +01:00
while(x < 2) {
x = x+1;
}
return x;
}
2024-05-21 12:14:12 +02:00
public m2() {
int i = 0;
do {
++i;
} while(i < 10);
return i;
}
2018-03-14 15:51:38 +01:00
}