Chapter 3 - Looping and Making Decisions


Home

Chapter 2 exercises

C++ Resources


In addition to the test code in the text, chapter 3 contains 13 end of chapter exercises.

Updated 21-02-2009
1. A simple std::vector<std::string>

2. Program using vector a const type and string input validation code

Updated 23-03-2009
3. Display a column of playpen objects

Updated 25-02-2009
4. Display a cross in the playpen window
A note about this program

Updated 03-03-2009
5. Playpen tiles
A note about this program

6. Playpen diagonal pattern

7. Display of the median value

8. Exam grade categories

9. triangular numbers -step triangle

Updated 15-03-2009
10. A note about this exercise

Updated 17-03-2009
11. Report ratio of vowels to consonant in a string

12. Anagram or not anagram

13. numbers to words