CSE 5J Lecture Notes - Lecture 2: Grayscale, Quadrilateral, Parallelogram
Document Summary
Cmps 5j - lecture #2 - comments, errors, function calls, and transparency. Comments are an essential tool when it comes to programming - it allows you to keep track of what each block of code does and helps you organize your code. You may also use it to debug your code. There are two ways to make comments: single line and multi-line comments. A multi-line comment is generally used to describe what the program does. It is also used to state the author of the program (ex. A multi-line comment begins with /* and ends with */ It is important to start your programs with a multi-line comment to make it easier for those reading your program to understand what your program is supposed to do. Program description: this program displays the prime numbers within a set of any given numbers. A single line comment is generally used to describe what each block of code does (ex.