subject

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%

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:00
Two technicians are discussing the common u-joint. technician a says its input and output speeds should be equal. technician b says that it normally has two yokes. which technician is correct?
Answers: 1
question
Computers and Technology, 22.06.2019 10:30
You have a large, late-model pick-up truck with a rear seat. the pick-up truck weighs 6,500 pounds. the florida seat belt law
Answers: 1
question
Computers and Technology, 22.06.2019 15:20
The north and south regions had very diferent economies in the 1800s.
Answers: 1
question
Computers and Technology, 22.06.2019 15:30
Why would a programmer use the logical operator and in an if statement? a: when an action is to be taken that requires both conditions to be falseb: when an action is to be taken that requires both conditions to be truec: when an action is to be taken that requires the first condition to be falsed: when an action is to be taken that requires the second condition to be truei took the test and the answer is b.
Answers: 3
You know the right answer?
Jorge, a sports statistician for soccer, has kept track of how many shots-on-goal each player on a t...
Questions
Questions on the website: 13722359