Lecture 18, using the "for" loop

I tried to do it 2 ways, both seemed to work. On the first screenshot I placed the GetGuessAndPrintBack() function inside of int main() and on the second screen shot
I thought it would be better and tidier to just try and do it inside the function it self.

First option:

  int main()

   for (int Count = 0; Count < 5; Count++)

  cout << endl;
  return 0;

!! Sorry had to write the code here, since new users can only upload one picture at a time :smiley:

Second option:

Well, that’s my take on it.