This C++ program takes the scores from 3 teams over 3 games as input and outputs a table with the scores from each game and the total for each team. It uses nested for loops to prompt the user for each team's scores for each of the 3 games and stores them in a 2D array. It then outputs a header and uses another nested for loop to display each team's individual game scores and calculated total on separate lines in a table format.
This C++ program takes the scores from 3 teams over 3 games as input and outputs a table with the scores from each game and the total for each team. It uses nested for loops to prompt the user for each team's scores for each of the 3 games and stores them in a 2D array. It then outputs a header and uses another nested for loop to display each team's individual game scores and calculated total on separate lines in a table format.
This C++ program takes the scores from 3 teams over 3 games as input and outputs a table with the scores from each game and the total for each team. It uses nested for loops to prompt the user for each team's scores for each of the 3 games and stores them in a 2D array. It then outputs a header and uses another nested for loop to display each team's individual game scores and calculated total on separate lines in a table format.