chapter 5: loops

Download Chapter 5: Loops

Post on 31-Dec-2015

24 views

Category:

Documents

6 download

Embed Size (px)

DESCRIPTION

Chapter 5: Loops. 5.1. The Increment and Decrement Operators. The Increment and Decrement Operators. ++ is the increment operator. It adds one to a variable. val++; is the same as val = val + 1; ++ can be used before (prefix) or after (postfix) a variable: ++val; val++;. - PowerPoint PPT Presentation

Recommended

View more >