CSE 100- Final Exam Guide - Comprehensive Notes for the exam ( 157 pages long!)
Document Summary
Cse 100 lecture four notes - arithmetic operators, comments, etc. Ex : a + b = 36. Modulus operator and remainder of after an integer division. Operator that decreases the integer value by one. Comments are descriptions for actions taken in a code without being executed by the program. The cleanest way to write multiple comment lines is to use the method /**/ . The // is considered unnecessary, however it is still a viable way to complete multiple comment lines. A block is a set of logically connected statements enclosed by open and closed brackets. Auto-increment int start = 90; // declaring the integer start return start; Num++ is equivalent to num = num +1. Decrements by one on the chosen variable. Num-- is equivalent to num = num - 1. There are three types of logical operators. Returns true if both the left and the right sides are equal.