**5.10** Compare and contrast the `if`

single-selection statement and the `while`

repetition statement. How are these two statements similar? How are they different?

**5.11 (Integer Division)** Explain what happens when a C# app attempts to divide one integer by another. What happens to the fractional part of the calculation? How can you avoid that outcome?

**5.12 (Combining Control Statements)** Describe the two ways in which control statements can be combined.

**5.13 (Choosing Repetition Statements)** What type of repetition would be appropriate for calculating the sum of the first 100 positive integers? What type of repetition would be appropriate for calculating the sum of an arbitrary number of positive integers? Briefly describe how each of these ...

Start Free Trial

No credit card required