If Statement Example Program in Dart


Example Program:

Here is the simple program for printing basic example of if statement in dart.

Source Code

void main() {
	/*
      Dart Programming - Decision Making
        if Statement
        if else Statement
        else if Statement
        Nested if Statement
    */
    var a=2;
    if(a>=5)
      print('You are eligible');
}
To download raw file Click Here



Learn All in Tamil © Designed & Developed By Tutor Joes