Week4

This week, we are learning conditional (if/else) statements from Chapter 4 of the textbook. The topics are from Sections  4.2, 4.3, 4.4 and 4.7 of Tapestry. Then we also covered function prototypes from Section 2.6 of the textbook.
Example codes for the if statements are not in the book, you can find them below.

Powerpoint files

if.ppt

funcs2.ppt

C++ codes discussed in class (some of them might have been modified in class to show extra features)

with_if_else_cpp

with_if_cpp

if_after_if_cpp

if_after_else_cpp

if_after_else_2_cpp

order_cpp

order2_cpp