noob needs code check...

This is a discussion on noob needs code check... within the C++ Programming forums, part of the General Programming Boards category; Please tell me what I'm missing.
Code:
//This is to calculate the average of up to 100 test scores.
#include ...

It would of course help quite a bit if we knew what the program is supposed to do - you may be misisng 1000 lines of code (or many many more than that), or it may be complete. Depends entirely on what the original problem to solve is defined as.

you have a semicolon after the if statement. take that out and then put brackets after this and then close that bracket where needed. I haven't checked the code or anything to see if it works, and i dont know what the program is supposed to do, but maybe that's the problem...