Question: Exercise#4 (2 Points). Write a program to do the following: 1. Read the content from the file with students' names with class scores 2. Create
Exercise#4 (2 Points). Write a program to do the following: 1. Read the content from the file with students' names with class scores 2. Create a new file (student_average.txt) and write names (first and last) and max (use Math.axo iteratively) score of classes for each student 3. Create a new file (class_average txt) and write class name and average score of each class. Text file: Name MT181 CS101 PH6.01 EE101 CH101 Zayn 100 92 85 96 85 Jason 98 82 80 88 79 Russel 84 80 95 99 100 Linus 88 92 93 95 99 Michelle 86 88 81 90 91 Irving 98 93 82 94 81 Exercise#4 (2 Points). Write a program to do the following: 1. Read the content from the file with students' names with class scores 2. Create a new file (student_average.txt) and write names (first and last) and max (use Math.axo iteratively) score of classes for each student 3. Create a new file (class_average txt) and write class name and average score of each class. Text file: Name MT181 CS101 PH6.01 EE101 CH101 Zayn 100 92 85 96 85 Jason 98 82 80 88 79 Russel 84 80 95 99 100 Linus 88 92 93 95 99 Michelle 86 88 81 90 91 Irving 98 93 82 94 81
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
