Ok, before anyone flames please use code tags. Simply place [*code] the begginning and [*/code] (minus the asterisk)at the end of the code you submit to make it more readable.
Now for your problem:
1. use variable names that are helpful, j is not helpful.
2. no one is going to do the assignment for you so I will point you in the right direction.
Code:
int main(void) {
int currentScore, numberScores, score, total, average;
cout << "Enter how many scores you wish to average:";
cin >> numberScores;
for(currentScore = 0; currentScore < numberScores; currentScore++) {
//get the scores and add them to total
}
//calculate and display average
return 0;
}
That should get you off to a good start. Happy coding