For loop Screen Shot for multiple get and print back requests

I was going to do a screenshot, i thought maybe a code snippet would be cleaner.

// the intro point for our application
int main(int argc, const char * argv[])
    // print the intro to the console.
    // get a guess from the user and prints it back 5 times with a for loop
    for(int i = 0; i < 5; i++)
        // grab the guess and print it back to the console while returning the guess value.
    // add a space between formatting
    std::cout << std::endl;
    return 0;

Privacy & Terms