Lecture 15 screen grab

Pretty much the same as everybody else. Couldn’t get the endl function to work for me by myself so used \n instead.
Don’t mind the additional comment on line 11. Sometimes I type lecture notes in the code. I have a dabbling of experience with C# and remember having to covert ints into strings and thought it interesting that cout does it for me.

Privacy & Terms