This is my first endeavor into for loops and I'm having some problems. I'm trying to write a program that will ask for how many points two teams scored per quarter and then display total points and the winning team.
#include <iostream>
using namespace std;
int main( )
{
    int scoreA = 0;
    int scoreB = 0;
    cout << "This program calculates the average score of 10 tests." << endl;
    for (int counter = 0; counter < 4; counter = counter + 1)
    {
        cout << "Enter Team A's quarterly points: ";
        cin >> scoreA;
        cout << "Enter Team B's quarterly points: ";
        cin >> scoreB;
        scoreA = scoreA + scoreA;
        scoreB = scoreB + scoreB;
    }
    cout << "Team A's Score: " << scoreA << endl;
    cout << "Team B's Score: " << scoreB << endl;
    if (scoreA > scoreB)
    {
               cout << "Team A wins";
               }
    else
    {
        cout << "Team B wins";
        }
    system("pause");
    return 0;
}
 
     
     
     
    