Question: Consider there are several files. The file name is defined as SUBJECT_CODE.mt SUBJECT_CODE is a unique code used to represent a subject, for example, ICT701,

Consider there are several files. The file name is defined as \"SUBJECT_CODE.mt SUBJECT_CODE is a unique code used to represent a subject, for example, ICT701, ICTTI, etc. The contents in a file are typically as following: Assignment | (20%) Assignment 2{20%) Final exam (60%) Student ID .20 13.81 45.20 s12334 14.50 15.40 74.50 512323 12.50 13.00 &3 .27 43314 Each line represents marks for assignment | out of 20, assignment 2 out of 20 and final exam out of 100 for a specific student 1D, Each file contains the marks for a specified subject. Wirite a program to load all files and process those files to get the average marks for assignment 1, assignment 2 and final exam for cach subject, and save the result mio a file named "SUBJECT_CODE_ave.txt\
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
