[Solved] Expected A Declaration CPP [closed]

[ad_1]

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

[ad_2]

solved Expected A Declaration CPP [closed]