Guess challenge screenshot


This is the way i did it, i tried using << endl; but it started throwing up errors, so i went with the “\n”; as it did not throw any errors up.

1 Like

What I wound up doing was putting:

cout << "Your guess was " << Guess << “.\n”;

That allowed me to keep it all on one line which I thought looked much more readable. What’s interesting is that it should have been happy with

cout << "Your guess was " << Guess << endl;

I even tested it in my code to verify and it wasn’t an issue. I’m happy you were able to find an acceptable way to improvise, however!! :smiley:

~Julia