Continue Statement Example Program in Dart


Example Program:

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

Source Code

//Printing Odd Numbers 
void main()
{
  for(var i=0;i<10;i++)
  {
    if(i%2==0)
    continue;
    print("Odd Nos : $i");
  }
}
To download raw file Click Here

Output

Odd Nos : 1
Odd Nos : 3
Odd Nos : 5
Odd Nos : 7
Odd Nos : 9


Learn All in Tamil © Designed & Developed By Tutor Joes