Answers for "if else dart example"

1

if else dart example

void main() { 
   var num = 12; 
   if (num % 2==0) { 
      print("Even"); 
   } else { 
      print("Odd"); 
   } 
}
Posted by: Guest on October-02-2020

Code answers related to "Dart"

Browse Popular Code Answers by Language