Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Dart
if else dart example
Salma adel
Programming language:
Dart
2021-02-26 13:22:02
0
Q:
if else dart example
Ugwu Chinelo
Code:
Dart
2021-02-26 13:24:33
void main() { var num = 12; if (num % 2==0) { print("Even"); } else { print("Odd"); } }
1
Tags
example
Related
question mark in dart
dart example
dart lambda expression
dart switch with classes
dart ?? operator
loop in dart
dart try catch
dart custom exception
how to put the Pi in dart
print dart
dart function syntax
dart try
dart spread
dart for in loop
dart loop
dart contains method
New to Communities?
Join the community