You might want to try compiling and working your way through the errors. These two lines will definitely cause issues.
// call function calcAverage
int calcAverage(int score1, int score2, int score3);
// call function printStars
void printStars(int avg, int id);
ShawnCplus
Code Monkey
1,583 posts since Apr 2005
Reputation Points: 526
Solved Threads: 268
When calling a function, you don't have to but the type it returns before it.
For example, change line 23 to:
calcAverage(score1, score2, score3);
Hope this helps.
William Hemsworth
Posting Virtuoso
1,591 posts since Mar 2008
Reputation Points: 1,429
Solved Threads: 129