In C++,Write a program that defines a base class called FTP3015. It has the following grading scheme:- 3 assignments 100 points each 25%- Midterm 100 points 30%- Final 100 points 45%Based on the total grade of any student for the course, the letter grade of each student can be computed as follows: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 be