forked from JavaTX/JavaCompilerCore
20 lines
223 B
Java
Executable File
20 lines
223 B
Java
Executable File
class ElseIf{
|
|
public static void main(args){
|
|
s;
|
|
i;
|
|
s = args;
|
|
e;
|
|
if(s < 10){
|
|
e = s + 10;
|
|
}
|
|
else if(s > 10 && s < 20){
|
|
e = s + 20;
|
|
}
|
|
else if(s > 20){
|
|
e = s + 30;
|
|
}
|
|
else{
|
|
e = s + 30;
|
|
}
|
|
}
|
|
} |