dart else if code example
Example: if else dart example
void main() {
var num = 12;
if (num % 2==0) {
print("Even");
} else {
print("Odd");
}
}
void main() {
var num = 12;
if (num % 2==0) {
print("Even");
} else {
print("Odd");
}
}