Dart Do-While Loops | RRTutors

Dart Do While Loops

main(List<String> args) {

  int i = 0;

  do {

    print('$i');

    i++;

  } while (i < 10);

}

Advertisements