CSE 5J Lecture Notes - Lecture 2: Grayscale, Quadrilateral, Parallelogram

43 views4 pages
20 Mar 2018
School
Course
Professor

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.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents