Hi Paul,
The output you got is correct. The Output shown in the exercise is wrong. It should have it all on one line.
See this excerpt from the exercise text:
To print to the output console, but without adding a line feed at the end, you used the second technique,
Console.Write()
. So, the next call toConsole.Write()
prints another message to the same line.
Please click Accept Answer and upvote if the above was helpful.
Thanks.
-TP