Question: 2. Write a program as below: a. Read the file test_mark.dat consists of 10 student's mark for Test 1 and Test 2, check if the

2. Write a program as below: a. Read the file test_mark.dat consists of 10 student's mark for Test 1 and Test 2, check if the doesn't exist, display an error. b. Calculate the average marks of those students and save into new data file named average_mark.dat
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
