Print a name card to the console using only Console.WriteLine() and comments. No input, no variables, no math — just careful control of what appears on the screen.
This sounds easy, and the code is easy. Getting the output to look exactly right is the part that takes attention.
Console.WriteLine()Activity 1.4's countdown used Console.Write() to keep several pieces on one line. That same habit is the trap here, in the opposite direction: forget to switch back to Console.WriteLine() for the start of a new section, and two lines that should be separate run together with no space at all — not even one.
Console.Write(" ");Console.Write("STUDENT NAME");Console.WriteLine("Junior"); STUDENT NAMEJuniorEvery line on this card is its own Console.WriteLine() call. If a line runs into the next one, this is almost always why.
Console.WriteLine() to get an empty line rather than nothing at all.============================== STUDENT NAME Junior Robotics Club==============================Your card should use your own information. The shape should match — same borders, same indentation on all three middle lines.
Submit your program file. It should contain:
Check your output character by character before you submit. If the three middle lines are not indented by the same amount, your spacing is coming from somewhere you did not intend — and finding out where is the actual lesson here.