Help me please I have aprogram to do and I don’t know where to start. I have to write a program to read in the no. of goals scored by three strikers into a 2D array print them out in a table and calculate the top scorers over the three years (average- 1decimal place) The goals should be in range 0-60 and there are no joint scorers
I’m at home for the Christmas vacation and unfortunately I don’t have a complier in order to check if I am right or not. This is my code so far and i know im no where near finished yet

#include <stdio.h>

void main( )
{
/* Declare variables*/
int goals1,goals2,goals3
double average
char player[100]

/* Prompts user for player’s names*/

for(player=0;player<=3;player+=1);
{
printf(“Please enter players name:”);
scanf(“%s”, &player1);
}

/*Prompts user for the goals scored by each striker for the 3 seasons*/

Another loop I’m unsure of this





Another loop here
/* To calculate the average goals*/
average=((goals1+goals2+goals3)/3)


/* To print out results in table format*/
/* Headings*/
printf(“Player\tSeason1\tSeason2\tSeason3\n”);
/*Partition between heading and numbers*/
printf(“------\t-------\t-------\t-------\n”);

/*To print out results on screen*/
printf(“%s\t%6d\t\t%6d\t\t%6d\n”,player,goals1,goa ls2,goals3);
printf(“%s\t%6d\t\t%6d\t\t%6d\n”,player,goals1,goa ls2,goals3);
printf(“%s\t%6d\t\t%6d\t\t%6d\n”,player,goals1,goa ls2,goals3);
printf(“the top scorer is %s with an average of %2.1f a season\n”, player,average);

HELP ME PLZ