Requirements: You are to ask the user: 1) For the name of the input file (CTIM375-Input.dat; a downloadable file), 2) Read the file into an array, 3) Sort the array in ascending order using the name...


Requirements:<br>You are to ask the user:<br>1) For the name of the input file<br>(CTIM375-Input.dat; a downloadable<br>file),<br>2) Read the file into an array,<br>3) Sort the array in ascending order using<br>the name field,<br>4) Add a field at the end of the records<br>that will contain the average of all the<br>amount fields within the record, and<br>5) Produce a comma-separated value<br>(.CSV) file called

Extracted text: Requirements: You are to ask the user: 1) For the name of the input file (CTIM375-Input.dat; a downloadable file), 2) Read the file into an array, 3) Sort the array in ascending order using the name field, 4) Add a field at the end of the records that will contain the average of all the amount fields within the record, and 5) Produce a comma-separated value (.CSV) file called "CTIM375-Output.csv".

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here