Usetutoringspotscode to get 8% OFF on your first order!

  • time icon24/7 online - support@tutoringspots.com
  • phone icon1-316-444-1378 or 44-141-628-6690
  • login iconLogin

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.

You can leave a response, or trackback from your own site.

Leave a Reply

Powered by WordPress | Designed by: Premium WordPress Themes | Thanks to Themes Gallery, Bromoney and Wordpress Themes