CAPE Computer Science Unit 1 · 2015 · Paper 2 · Question 5(c)
Processing a text file 'testgrades.txt' containing student IDs and final marks.
Write a C program that reads 'testgrades.txt' to count and display the number of students receiving grades A (80-100), B (70-79), C (60-69), and F (<=59), along with the highest overall mark.
This question uses a figure or table from the paper — you'll see it when you practise.
The mark scheme is shown once you've answered.
Practise this question