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. 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 119 571 42 360 412 721 463 47 441 190 985 214 509 77 81 681 651 995 93 74 310 9. 995 561 92 14 288 892 766 34 639 466 151 664 64 98 813 67 834 369 Turn In Turn in source code, the input file, and the output file.
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. 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 119 571 42 360 412 721 463 47 441 190 985 214 509 77 81 681 651 995 93 74 310 9. 995 561 92 14 288 892 766 34 639 466 151 664 64 98 813 67 834 369 Turn In Turn in source code, the input file, and the output file.
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
please complete the
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY