My go at the For loop

I went ahead and defined the variable in the header section, and added a blank line after each attempt. I may add in a snippet to show the current iteration of the loop, something like

cout << "Attempt " << count << " of " << limit << endl;
GetGuessAndPrintBack();
cout << endl;

We’ll see how it goes.

And the snippet works! woop woop!

My go at the for loop:

1 Like

Privacy & Terms