Find the answer to your Linux question:
Results 1 to 2 of 2
help to make a program 4 this you have given student records in file Student.txt which contains the marks of all students per subject (5 Subjects). You have to calculate ...
  1. #1
    min
    min is offline
    Just Joined!
    Join Date
    Apr 2009
    Posts
    1

    linux programming

    help to make a program 4 this

    you have given student records in file Student.txt which contains the marks of all students per subject (5 Subjects). You have to calculate the average marks and put the records of the entire student in the same file. One more files attendance.txt which contains the attendance record of all students. You have to put the record of students which have aggregate attendance more than 75 % in separate file (Attendance) and aggregate marks of students having marks less than 75 in separate file (marks). Output is like this

    ./a.out student.txt attendance.txt marks attendance

    So marks contain the student’s record that have less than 75 % marks aggregate along with his marks per subject.

    So attendance contains the student’s record that has greater than 75 % attendance aggregate along with his attendance per subject

  2. #2
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    We will not do your homework for you. If you have a specific programming question we will help, but asking us to do the work is against the forum rules.

    http://www.linuxforums.org/forum/lin...ums-rules.html
    Registered Linux user #270181
    TechieMoe's Tech Rants

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...