Jorge, a sports statistician for soccer, has kept track of how many shots-on-goal each player on a team made in each game. This is recorded in the "SOG" column. Jorge also has the total number of goals each player made during each game. He now wants to create a custom function that will find the average number of goals a player made per shots-on-goal in each game. He will calculate the averages as percents and will call the function "PctPerShots. "
What code will Jorge’s function most likely include?
A. PctPerShots (SOG)
PctPerShots=SOG*goals/100
B. PctPerShots (goals)
PctPerShots=goals*SOG/100
C. PctPerShots (SOG, goals)
PctPerShots=SOG/goals%
D. PctPerShots (SOG, goals)
PctPerShots=goals/SOG%