<file_sep>package com.company;

public class Do {
    public static void main(String[] args) {
        int i = 0;
        do {
            System.out.println(i);
            i++;
        } while (i < 10);
        // this is a little different

        // a do-while loop always executes at least one time
//        i = 400;
//        do {
//            System.out.println(i);
//            i++;
//        }
//        while(i > 500);

        // do while loops exist in both JS and Java. Again good to practice in Unit 2, but not nearly as important to understand as while loops, or for loops
    }
}
