1) Initialize two integers 'i' and 'count' and set 'i' to be 0 2) While i is less than 10, output the value of i and increase it by 1 3) Run a for loop increasing count by 1 while count is less than 10, outputing each count value