...

Line by Line

When you write code, you're writing a sequence of instructions that the computer follows line by line. Think of it like a recipe that the computer must follow.

Run the code in this exercise, and see how each line is executed one after the other.

Code Comments

Any line of code that begins with // is ignored by the computer, as if the line was never written.

Programmers write comments in code all the time to leave notes for their fellow programmers or their future selves, and I will use comments throughout these lessons to leave notes for you.

Loading...

Output (Console)