Lecture Two

23 July 98

Click here to start

Table of Contents

A First C Program

Computing Distance


The while Statement


Relational Operators

While(), Example

Exercise (DO IT NOW)

The do while() Statement

Do-While Example

Exercise (DO IT NOW)

Real World Application Classifying solutions as acidic or nonacidic

Standard Mathematics Functions

The If Statement

If, Example

If, Example 2

If-else Statement

If-else, Example

Exercise (DO IT NOW)


Reading/Home Working

Author: NUS

Email: cscwjs@nus.edu.sg

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

Download presentation source