Change this program from C to C++.
#include <iostream>
#include<cmath>
#include<iomanip>
using namespace std;
#define NC 4
#define NS 10
void displaymenu() {
printf(“1. Student’s gradesn”);
printf(“2. Student’s averagen”);
printf(“3. Course’s gradesn”);
printf(“4. Course’s averagen”);
printf(“5. Student’s statisticsn”);
printf(“6. Course’s statisticsn”);
printf(“7. First ranked student in a givencoursen”);
printf(“8. First ranked studentn”);
printf(“9. Exitn”);
}
void studentGrade(int matrix[NS][NC]) {
int stuNo;
printf(“nPlease enter the student for whom you wantto see the grades: “);
scanf(“%d”, &stuNo);
if (stuNo > 0 && stuNo < 11) {
printf(“Below are the grades forstudent %dn”, stuNo);
for (int i = 0; i < NC; i++) {//looping through all the courses for this
PayPal Gateway not configured
PayPal Gateway not configured