Week 4
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.
We also learned about function prototypes as well as functions that return a value and the math library for many math functions.
Powerpoint files
C++ codes discussed in class (some of them might have been modified in class to show extra features)
Recitation Material