Question: Please code this assignment for me , in C + + code please Program 6 : Write a program that reads the HW 6 Input.txt
Please code this assignment for me in C code please
Program : Write a program that reads the HWInput.txt file provided download the file, do
not copy and paste the contents using an input loop. Save the input file in the same location as
your source file, and have your program look for HWInput.txt in the same folder as itself. This
program will determine the maximum and minimum values of It will also determine the
maximum and minimum values of and the values at which these occur. Do not hardcode
any of these values or the number of lines of inputthis program must be able to correctly
process a similar file with different values, andor a different number of values.
Output the values read to a file named HWOutput.txt also in columnar form, neatly formatted.
You can look at the HWKey.txt file for reference. This time use the headers value and
value, neatly centered above the values. When all of the data has been output, skip a line and
display the results of your processing in this format exactly. Dont fail to note the required
precision:
The function was evaluated from aa to
The function has a minimum value of cccccc at
The function has a maximum value of eeeeee at
Hint: Read, completely process, and write one pair of values at a time, using only one loop.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
