© 2010 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Chapter 8: Arrays Problem Solving & Program Design in C Sixth Edition By Jeri R. Hanly & Elliot B. Koffman
1-2 © 2010 Pearson Addison-Wesley. All rights reserved. 1-2 Figure 8.14 Functions push and pop
1-3 © 2010 Pearson Addison-Wesley. All rights reserved. 1-3 Figure 8.14 Functions push and pop (cont’d)
1-4 © 2010 Pearson Addison-Wesley. All rights reserved. 1-4 Figure 8.15 Function That Searches for a Target Value in an Array
1-5 © 2010 Pearson Addison-Wesley. All rights reserved. 1-5 Figure 8.16 Trace of Selection Sort
1-6 © 2010 Pearson Addison-Wesley. All rights reserved. 1-6 Figure 8.17 Function select_sort
1-7 © 2010 Pearson Addison-Wesley. All rights reserved. 1-7 Figure 8.18 A Tic-tac-toe Board Stored as Array tictac
1-8 © 2010 Pearson Addison-Wesley. All rights reserved. 1-8 Figure 8.19 Function to Check Whether Tic-tac-toe Board Is Filled
1-9 © 2010 Pearson Addison-Wesley. All rights reserved. 1-9 Figure 8.20 Three-Dimensional Array enroll
1-10 © 2010 Pearson Addison-Wesley. All rights reserved Figure 8.21
1-11 © 2010 Pearson Addison-Wesley. All rights reserved Figure 8.22 Hospital Revenue Summary Main Function
1-12 © 2010 Pearson Addison-Wesley. All rights reserved Figure 8.23 Function scan_table and Helper Function initialize
1-13 © 2010 Pearson Addison-Wesley. All rights reserved Figure 8.23 Function scan_table and Helper Function initialize (cont’d)
1-14 © 2010 Pearson Addison-Wesley. All rights reserved Figure 8.23 Function scan_table and Helper Function initialize (cont’d)
1-15 © 2010 Pearson Addison-Wesley. All rights reserved Figure 8.24 Function display_table and Helper Functions display_quarter and whole_thousand
1-16 © 2010 Pearson Addison-Wesley. All rights reserved Figure 8.24 Function display_table and Helper Functions display_quarter and whole_thousands (cont’d)