In This Chapter
Problem 1: Paper, Scissors, Rock!
Problem 2: Demographic Analysis
Inside every well-written large program is a well-written small program.
In the previous chapters, you learned about C++ core statements, functions, basic program design and pseudocode, and divide and conquer. You can use all these ideas to solve small-scale problems. The scale of a problem is based on several factors:
The difficulty of the solution
The number of functions in the solution
The amount and diversity of the data in the solution
Starting with small-scale problems helps you master the use of the core C++ language and functions while applying some basic analysis ideas. Large, complex programs are made up of smaller, ...