CSCI 103 Fall 2017 Introduction to Programming

CSCI 103 Fall 2017: Introduction to Programming

Homework: Control Flow

This homework complements the reading in Chapters 3 and 4.

The first three exercises can be done after reading Section 3.1 and Section 3.2. You can skip reading about the conditional operator ? : for now.

The next exercise can be done after reading Section 3.3. You can skip reading about the switch statement for now.

The next exercise can be done after reading Section 3.4. It is the same as the previous one, but with a differently structured approach.

The next exercise can be done after reading Section 3.7.

The next exercise can be done after reading Section 4.1.

The next exercise can be done after reading Section 4.3.

You may skip section 4.4 on do/while for now, we will come back to it later when needed. The next exercise can be done after reading Section 4.5. Don't worry about the break statement, we'll come to that later.

Continue reading through to the end of chapter 4.