int i;

i = 0;

do {

       cout << i; // Output the value i to the LabPP_Automat message window

       i++; // Increase i by 1

} while (i < 10) // Run the loop as long as i is less than 10