help me with ma c programme..
## design and write a programme to tabulate the results of 10 students of 4 subjects using C programme. this programme will take Name, ID, marks as individual input.
calculate the results under following conditions:
a)students who have failed in 2 0r more subjects, will not be promoted in the next level.
b) students who obtained an average marks of
i) more or equal 70% will get Grade A
ii) more or equal 60% but less than 70% will get Grade B
iii) more or equal 50% but less than 60% will get Grade C
iv) more or equal 45% but less than 50% will get Grade D
v) more or equal 40% but less than 45% will get Grade E
vi) less than 40% will get Grade F
c) the programme will be able to sort the students in order of marks obtained excluding those failed in 2 or more subjects.
the rsult of each students is needed to be saved in a file and finally to be printed in a tabular format.