I am trying to write a for loop and add a cout statement on it after a certain amount of iterations. I know i look like an idiot asking this, but how do I go about doing that?
I have code that iterates 10 times. After the 10th time, I want it to display "Congrats, you won!" but I am not sure how to go about it. This is the code I came up with so far.