forked from JavaTX/JavaCompilerCore
30 lines
371 B
Java
30 lines
371 B
Java
import java.lang.Integer;
|
|
import java.lang.Boolean;
|
|
|
|
public class For{
|
|
public Integer m(Integer x){
|
|
var c = x + 2;
|
|
Boolean b = true;
|
|
c = 5;
|
|
c++;
|
|
++c;
|
|
c--;
|
|
--c;
|
|
while(x<2){
|
|
x = x +1;
|
|
b = false;
|
|
}
|
|
for(int i = 0; i<10; i++) {
|
|
x = x + 5;
|
|
}
|
|
return x;
|
|
}
|
|
|
|
// m2(Integer x){
|
|
// if(x<2) {
|
|
// return 1;
|
|
// }else {
|
|
// return 2;
|
|
// }
|
|
// }
|
|
} |