Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

if else dart example

void main() { 
   var num = 12; 
   if (num % 2==0) { 
      print("Even"); 
   } else { 
      print("Odd"); 
   } 
}
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #dart
ADD COMMENT
Topic
Name
2+7 =