#include <iostream> using namespace std; int main() { int scores[] = {85, 90, 78, 92, 88}; int size = 5; int total = 0; for (int i = 0; i < size; i++) { total += scores[i];
#include <iostream> using namespace std; int main() { int scores[] = {85, 90, 78, 92, 88}; int size = 5; int total = 0; for (int i = 0; i < size; i++) { total += scores[i];