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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!