Dart While Loops | RRTutors

Dart While Loops

main(List<String> args) {

  int i = 0;

  while(i < 10) {

    print('$i');

    i++;

  }

}

Advertisements