public class Lab7_Counting { public static void main(String[] args) { final int LIMIT = 10; //INITIALIZE: Counter set to initial value int counter = 0; //TEST: Counter value tested against limiting value while (counter < LIMIT) { //PROCESS: Display the current counter value System.out.println( counter + " " ); //UPDATE: Reassign counter with its next value } System.out.println("END"); } }