2018-02-21 14:43:28 +00:00
|
|
|
import java.lang.Integer;
|
|
|
|
import java.lang.Boolean;
|
|
|
|
|
2018-01-31 15:16:05 +00:00
|
|
|
class For{
|
2018-02-23 19:10:11 +00:00
|
|
|
Integer m(Integer x){
|
|
|
|
var c = x + 2;
|
2023-10-24 15:34:06 +00:00
|
|
|
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;
|
2018-01-31 15:16:05 +00:00
|
|
|
}
|
2018-02-21 14:43:28 +00:00
|
|
|
|
|
|
|
// m2(Integer x){
|
|
|
|
// if(x<2) {
|
|
|
|
// return 1;
|
|
|
|
// }else {
|
|
|
|
// return 2;
|
|
|
|
// }
|
|
|
|
// }
|
2018-01-31 15:16:05 +00:00
|
|
|
}
|