Some explaination
to be continued...
if (counter == 10) { printf("Yeah !\n"); } else { printf("No.\n"); }
This is the explaination of the figure above and the code to the left.