A file contains 'n' student records. Each record contains Student Name, Number and Marks of three Subjects. Write a C program to read each record and find the result, average and total. If the student has passed, the record is to be written into a file "Passed" and if student has failed, write the record into another file riamed "Failed"