(Solved):In some programs, we would like to be able to determine the input and output filenames at the time that the program is executed. Modify your maxmin.c program from Assignment 8 so that the main prog… View Answer…

 

Question

In some programs, we would like to be able to determine the input and output filenames at the time that the program is executed. Modify your maxmin.c program from Assignment 8 so that the main program prompts the user for the two filenames and passes the input filename to the readvalues function. The function readvalues now opens the input file to read the data and closes it when done. The

Scroll to top