Answer:
C++.
Explanation:
int main() {
int num_days_scores;
cout<<"How many days of scores? ";
cin<<num_days_scores;
cout<<endl;
///////////////////////////////////////////////////////////////////////////
// Get scores for each day and add it to array
int score = 0;
int* score_array = new int[num_days_scores];
for (int i = 0; i < num_days_scores; i++) {
cout<<Enter score for day "<<i+1<<": ";
cin<<score;
score_array[i] = score;
}
////////////////////////////////////////////////////////////////////////////
// Calculate total of scores by traversing array
int final_score = 0;
for (int i = 0; i < num_days_scores; i++) {
final_score += score_array[i];
}
cout<<"The total score of the "<<num_days_scores<<" days is "<<final_score;
////////////////////////////////////////////////////////////////////////////
delete[] score_array;
return 0;
}