الرجاء حل هذا السؤال

Assume that enum Grade = {A, B, C, D, F} is an enumerated data type that represents grades in a course. Write a C++ program that reads a list of students ID’s and grades, finds the frequency of each grade in the file, and stores that frequency in an array of 5 integers. Use the Grade data type to loop through the array.