Assignment Plan and code a program utilizing one file for input and one file for output to solve the following problem: A file contains 7 numbers per line and contains several records. The number of...


please complete the program in C++, and please avoid using any strings or advanced manipulators. I would appreaciate also if you left comments in the code for me to follow along! thanks



Assignment<br>Plan and code a program utilizing one file for input and one file for output to solve the following problem:<br>A file contains 7 numbers per line and contains several records. The number of records could vary and it's unknown.<br>Write a program to read each number in a record, find the highest number, the lowest number, their total and average.<br>Output the numbers, the highest, lowest, total, and average for each set of 7 numbers to another file.<br>g one<br>Input<br>7 numbers per record in the input file.<br>Output<br>The 7 numbers, the highest, the lowest, their total, and average for each record. Label all output clearly. Be sure your<br>output file contains data that was input in addition to the results of your program processing.<br>Run<br>Create the data file below using your text editor or Notepad. Run with the following data:<br>346<br>130<br>982<br>90<br>656<br>117<br>595<br>415<br>948<br>126<br>4<br>558<br>571<br>87<br>42<br>360<br>412<br>721<br>463<br>47<br>119<br>190<br>985<br>214<br>509<br>2<br>571<br>441<br>77<br>81<br>681<br>651<br>995<br>93<br>74<br>995<br>561<br>92<br>14<br>288<br>310<br>9.<br>664<br>892<br>8.<br>766<br>34<br>639<br>466<br>64<br>98<br>813<br>67<br>834<br>369<br>151<br>Turn In<br>Turn in source code, the input file, and the output file.<br>

Extracted text: Assignment Plan and code a program utilizing one file for input and one file for output to solve the following problem: A file contains 7 numbers per line and contains several records. The number of records could vary and it's unknown. Write a program to read each number in a record, find the highest number, the lowest number, their total and average. Output the numbers, the highest, lowest, total, and average for each set of 7 numbers to another file. g one Input 7 numbers per record in the input file. Output The 7 numbers, the highest, the lowest, their total, and average for each record. Label all output clearly. Be sure your output file contains data that was input in addition to the results of your program processing. Run Create the data file below using your text editor or Notepad. Run with the following data: 346 130 982 90 656 117 595 415 948 126 4 558 571 87 42 360 412 721 463 47 119 190 985 214 509 2 571 441 77 81 681 651 995 93 74 995 561 92 14 288 310 9. 664 892 8. 766 34 639 466 64 98 813 67 834 369 151 Turn In Turn in source code, the input file, and the output file.

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here