если еще Java
if (condition) {
// statement
} else if(condition){
// statement
}else{
// statement
}
CodePadding
if (condition) {
// statement
} else if(condition){
// statement
}else{
// statement
}
// A basic simple of an if statement
var apples = 10;
var bananas = 11;
if (apples > bananas) {
print("Too much apples")
} else {
print("Too much bananas")
}