[Solved] Expected A Declaration CPP [closed]


You have a semicolon at the end of this line which makes the compiler think you’re doing a function prototype:

char ScoreFromRawMarks(float scoreAwarded, float scoreAvailable, float percentage);
{ //EXPECTED DECLARATION

solved Expected A Declaration CPP [closed]