lecture Four

30 July 98


Click here to start


Table of Contents

More on if-else

Nested if/if-else

If-else if-else...

If-else if-else, e.g.,

Files

File, example

Character data type

Print a Character

Read and Print Characters

Characters are stored internally as numbers

Char/Int Conversion

Character v.s. Number

Special Characters

Special Characters, E.g.,

Difference Size of Integers

Difference Type of Floating-Point Numbers

Write/Print Floating Point

Read float and double by scan()

Summary

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