I"m trying to write a program for my uni assignment but I got this error during compiling and I have no idea wat it means, could somebody help me
Here's the error
too few arguments to function `void CalculateAverage(int &, double &, double &, int &)'
this is the code that cause the error
void CalculateAverage(int& Score, double& sAverage, double& cAverage, int& NoOfStudent);
Basically, I"m trying to open a file read a bunch of test score and calculate the average for the test score, i've decided to use a function to do this but I got lost on the way and have no idea what the error means.