need help C++
//******************************************************************
// This program calculates the average, high score, lowscore,
// number above the average, and number below the average for
// a file of test scores.
// Assumption: File contains at least one non-zero value
//******************************************************************
#include <iostream>
#include <fstream>
#include <iomanip>
using namespace std;
struct GradeStatistics
{
intnumGrades; // Number of grades
floataverage; // Average grade
inthighest; // Highest grade
intlowest; // Lowest grade
int aboveAverage; //Number of grades above the average
int belowAverage; //Number of grades below the average
int grades[101]; //Array of grades
};
// Declare function prototypes
void CalculateStatistics(GradeStatistics& statistics,ifstream& inData);
// Post: Data has been read and statistics calculated.
void OpenFiles(ifstream& inData, ofstream& outData);
// Post: File names have been prompted for and files areopened.
// Input file name has beenwritten
PayPal Gateway not configured
PayPal Gateway not configured