Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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
6+4 =