Why this is tricky

Count to 10 by clicking Increment. About 30% of clicks trigger a device error instead of counting โ€” when that happens, Increment is disabled until you click "Acknowledge Error" to recover. A loop that just clicks Increment ten times will stall the first time it hits an error; the loop needs a branch that checks for the error state and clears it before continuing.

0

Initial state.