Using the same data file from the previous problem, write a program that stores the students' names in a one- dimensional array and the students' scores in two-dimensional array for five test scores of each student. The program should output the average score each student and each test as shown below. In addition, the program return the highest score with the student name and test name. Student Name Test 1 Test 2 Test 3 Test 4 Test 5 Mamoon Abdalla 85 77 76 83 90 91 80 95 93 48 Nawaf 78 81 11 90 73 Hamad 92 83 30 69 87 Omran 23 45 96 38 59 Mohammed 60 85 45 39 67 Hassan 77 31 52 74 83 Sami 93 94 89 77 97 Ihsan 79 85 28 93 82 Ahmed 85 72 49 75 63 Sample input/output: Enter the output file name (with extension <- 50 characters): StudentData.txt Student Name Test 1 Test 2 Test 3 Test 4 Test 5 Average Mamoon Abdalla Nawaf Hamad 85 80 78 92 82.4 81.2 66.6 72.2 83 90 77 91 93 76 48 73 95 81 83 90 69 11 30 87 23 60 77 45 96 45 52 59 52.2 Omran Mohammed 38 85 39 74 77 67 59.2 31 94 85 72 83 97 82 63 Hassan 93 79 85 63.4 90 3.4ר 68.8 Sami 89 Ihsan 28 93 75 Ahmed 49 Tests Average: 75.2 74.9 57.2 73.9 73.5 The student 'Sami' has the highest score (97) in Test 5
Using the same data file from the previous problem, write a program that stores the students' names in a one- dimensional array and the students' scores in two-dimensional array for five test scores of each student. The program should output the average score each student and each test as shown below. In addition, the program return the highest score with the student name and test name. Student Name Test 1 Test 2 Test 3 Test 4 Test 5 Mamoon Abdalla 85 77 76 83 90 91 80 95 93 48 Nawaf 78 81 11 90 73 Hamad 92 83 30 69 87 Omran 23 45 96 38 59 Mohammed 60 85 45 39 67 Hassan 77 31 52 74 83 Sami 93 94 89 77 97 Ihsan 79 85 28 93 82 Ahmed 85 72 49 75 63 Sample input/output: Enter the output file name (with extension <- 50 characters): StudentData.txt Student Name Test 1 Test 2 Test 3 Test 4 Test 5 Average Mamoon Abdalla Nawaf Hamad 85 80 78 92 82.4 81.2 66.6 72.2 83 90 77 91 93 76 48 73 95 81 83 90 69 11 30 87 23 60 77 45 96 45 52 59 52.2 Omran Mohammed 38 85 39 74 77 67 59.2 31 94 85 72 83 97 82 63 Hassan 93 79 85 63.4 90 3.4ר 68.8 Sami 89 Ihsan 28 93 75 Ahmed 49 Tests Average: 75.2 74.9 57.2 73.9 73.5 The student 'Sami' has the highest score (97) in Test 5
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
100%
Posting it 4th time if this time u submit wrong answer will give -ve rating
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 2 steps
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