Here is a possible answer without using a Class.. you can use the algorithm(s) below when you put together your class in your program.
#include <iostream>
using namespace std ;
int main()
{
int score[i],
total = 0 ;
for(int i=0; i<10; i++)
{
cout << "\nEnter an integer: " ;
cin >> score[i] ;
total += score[i] ;
}
cout << "\n\n\tThe sum is: " << total ;
cout << "\n\n\tThe average is: " << total / 10 ;
return 0 ;
}