Spring 1998
Assignment 6
(due Friday 98.03.27 at 5 p.m. in room MCS 138)
-
[4 points] Exercise 6.15, page 248.
Test your program 3 times, on the date files:
-
~cs111/DataFiles/data_file_for_hwk_6_1
-
~cs111/DataFiles/data_file_for_hwk_6_2
-
~cs111/DataFiles/data_file_for_hwk_6_3
-
[4 points] Exercise 6.17, page 249.
Modify the program given in this exercise as follows:
-
[4 points] Exercise 6.34, page 257.
Run your program 5 consecutive times, on 5 different integers read off the
keyboard. Make sure to test your program for the case
when the search key is not in the array.
Assaf Kfoury
Created: 98.03.20