Objectives of This Chapter

By the end of this chapter, you should

  1. Understand the likelihood of error in even a small change to a program.

  2. Be aware that even seemingly small changes in a problem can result in large changes in the program that solves the problem.

  3. Have some understanding of the type of thinking needed to solve problems with programming.

  4. Understand the selection sorting algorithm for arranging values in order.

  5. Understand how to use a Vec to maintain a number of values under one name.

  6. Be able to use the for statement to execute program statements a (possibly varying) number of times.

  7. Be familiar with the arithmetic operators ++ and +=, which are used to modify the value of variables.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset