Write a grading program for a class with the following grading policies
a. There are two exams, each graded on the basis of 100 points
c. Any grade of 90 or more is an A, any grade of 80 or more (but less than 90) is a B, any grade of 70 or more (but less than 80) is a C, any grade of 60 or more (but less than 70) is a D, and any grade below 60 is an F. The program will read in the student’s scores and output the student’s record, which consists of two exam scores as well as the student’s average numeric score for the entire course and final letter grade. Define and use a structure or class for the student record.
d. A student ID should be 3-digit characters (create a char variable with size of 5).
e. This class has two public methods - one for input (student ID, two exam scores), another for output (student ID, two exam scores, class average, letter grade)
Hint: a class or structure must contain the following private variables – studentNumber (char[]), exam1, and exam2
Hint: use StudentRecord for the class name, and objStudent for the only object name you create in the main function.
Please note, that it is not a homework site. We won't do your homework for you. However we are always willing to help solve problems you encountered, correct mistakes you made in your code and answer your questions.
We didn't see your attemts to solve this youself and so we cannot correct mistakes you didn't made and answer questions you didn't ask. To get help you should do something yourself and get real problems with something. If your problem is "I don't understand a thing", then you should go back to basics and study again. As it is impossible to find deriviative of function without knowledge in ariphmetics, you cannot do more complex tasks in programming without clear understanding of basics