Lecture Six

6 August 98


Click here to start


Table of Contents

Modulus Operator

Relational/Logical Expressions

Exercise, Do it now

The For Loop

For Loop

For Loop Example

For Loop Example

Equivalence of while and for

Equivalence of for and while

Infinite Loop (looping forever)

Comma Operator ","

Increment (++) Operator

Decrement (--) Operator

++/--, Examples

Reading/Home Working

Lab 1, Due Monday, 17 Aug 98

Author: NUS

Email: cscwjs@nus.edu.sg

Home Page: http://www.cz3.nus.edu.sg/~wangjs/CZ1102/cz1102.html

Download presentation source