Question: Help Please Programming assignment 4 (Case Study Maintenance): Exerise 1: Compili and run program Acoustic (acoustica.cpp) Exercise 2: The name of the data file is
Programming assignment 4 (Case Study Maintenance): Exerise 1: Compili and run program Acoustic (acoustica.cpp) Exercise 2: The name of the data file is accoustic.dat. Change the program so that the name of the input file is read from the keyboard. Compile and run the program using a data file of your choice. Exercise 3: The output from program Acoustic goes to cout. Rewrite the code so that the data goes to an output file, the name of which is read from the keyboard. Compile and run the program, sending the output to a file of your choice. Exercise 4: Enclose the main part of the program in a loop so that it keeps processing new files until the string "Quit" is encountered as the input file name. Turn in: Your code for Exercise 2, Exercise 3, and Exercise 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
