
Lesson 6-6: Case Study Maintenance
144 | Chapter 6
Name __________________________________________ Date _______________________
Section _________________________________________
Exercise 1: Compile and run program Acoustic (acoustics.cpp).
Exercise 2: The second version of program Acoustic keeps track of the lowest dip in the
readings. If two dips are equal, it remembers the first one. Change the program so that it
remembers the last dip. Compile and run the program. List the changes that occur in the output.
Exercise 3: The name of the data file is acoustic.dat. Change the program so that the name of
the input file is read from the keyboard. Compile ...