Write a program that will read a file of 6 student records called marks.txt, which you must create yourself as shown below.

Write a program that will read a file of 6 student records called marks.txt, which you must create yourself as shown below. Each student record consists of a student number

(7 digits), a subject (for example “math”) and an integer mark. An example of two records would look like this: 2134523 Math 47 75676881 English 98 Your task is to read the file and create two files, one called pass.txt and the other fail.txt. Both output files should contain only subject and mark.

Previous answers to this question


This is a preview of an assignment submitted on our website by a student. If you need help with this question or any assignment help, click on the order button below and get started. We guarantee authentic, quality, 100% plagiarism free work or your money back.

order uk best essays Get The Answer
Uncategorized

Leave a Reply

Your email address will not be published. Required fields are marked *

Write a program that will read a file of 6 student records called marks.txt, which you must create yourself as shown below.

Write a program that will read a file of 6 student records called marks.txt, which you must create yourself as shown below. Each student record consists of a student number

(7 digits), a subject (for example “math”) and an integer mark. An example of two records would look like this: 2134523 Math 47 75676881 English 98 Your task is to read the file and create two files, one called pass.txt and the other fail.txt. Both output files should contain only subject and mark.

Previous answers to this question


This is a preview of an assignment submitted on our website by a student. If you need help with this question or any assignment help, click on the order button below and get started. We guarantee authentic, quality, 100% plagiarism free work or your money back.

order uk best essays Get The Answer
Uncategorized

Leave a Reply

Your email address will not be published. Required fields are marked *