What's wrong with my code????
Hi, I'm a new programmer, my professor gave me the following assignment:
Assume 3 teams and 5 games. Declare these as constants.
Ask the user to input the team name. Save in a 1D array.
For each game, ask the user to input the number of goals scored by that team. Save in a 2D array
Find the high goals for each team. Store in a 1D array.
Find game number with the high goal for each team. Store in a 1D array.
Display in a table format the following.
Team names as rows. Game numbers as columns.
List Team Name, Goals per game for each game, high goals and game number with high goals.
- I'm struggling with this right now, if anyone could help me out or point me in the right direction that would reaaaaaaaaaaally help.