< previous page page_40 next page >

Page 40
Case Study Follow-Up
1. Using Figure 1-15 as a guide, construct a divide-and-conquer diagram of the Problem-Solving Case Study, An Algorithm for a Company Payroll.
2. Use the following data set to test the payroll algorithm presented on pages 3334. Follow each step of the algorithm just as it is written, as if you were a computer. Then check your results by hand to be sure that the algorithm is correct.
ID Number
Pay Rate
Hours Worked
327
8.30
48
201
6.60
40
29
12.50
40
166
9.25
51
254
7.00
32
0

 
< previous page page_40 next page >