grading program in c

Coursework Grading Program in C

A program to read data for each student (50) of a course (each line of data consists of the student name, followed by marks (out of 100) obtained in six assignments) , calculate the average mark (out of 50) obtained and output the results under suitable headings. For each student print the name, the six marks, the average and the message pass or fail (use both member operator and arrow operator)