Question: 1. Write a program that takes multiple student marks as input. If a user enters negative marks, the program writes all marks to a file

1. Write a program that takes multiple student marks as input. If a user enters negative marks, the program writes all marks to a file called marks.txt and exits.

2. Write a program that opens the file marks.txt and prints all marks on screen

3. Write a program that opens the file marks.txt and prints the average of all marks in the file

4. Write a program that takes 5 student names and their marks as input. The program then writes them to a file called records.txt

5. Write a program that opens records.txt and reads all records. Program will find the student with highest marks and print his name and marks on the screen.

note: plz do in python code

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!