Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Principles Of Multimedia Database Systems

Authors: V.S. Subrahmanian

1st Edition

1558604669, 978-1558604667

More Books

Students also viewed these Databases questions

Question

=+ What is the nature of the contracts or agreements with unions?

Answered: 1 week ago

Question

=+What is the procedure for labor relations in the workplace?

Answered: 1 week ago

Question

=+ Are ballots compulsory?

Answered: 1 week ago