subject
Engineering, 15.01.2020 17:31 corbinfisher

In the nfl, the quarterback is judged based on his throwing statistics: pass completions, pass attempts, passing yards, passing touchdowns, interceptions, and quarterback rating. write a program that reads in quarterback data from a file, populate the array, and allow the user to search the quarterbacks by last name or by any of the statistics used to describe the kind of year the quarterback is having. the input file given will consist of 20 lines an each line will have the following: firstname last name completions attempts yards touchdowns interceptions separated by a space. you will need to declare the following series of parallel arrays (where qbs is a global constant with the value of 20): • string name (qbs] [2] - contains the name of the quarterback, i. e. name [i][0] stores the quarterback at index i's first name and name [i] [1] stores the quarterback at index i's last name • int passing stats (qbs] [5] - contains the completions, attempts, yards, touchdowns, and intercep- tions for each quarterback, i. e. qbstats[i][0] stores the quarterback at index i's completions, qbstats[i] [1] stores quarterback at index i's pass attempts, and so • double qbrating (qbs] - contains the quarterback rating for each quarterback, you will not read in the quarterback rating from the file, you will compute the quarterback rating for each quarterback using the following formula a = (-attempts » – 0.3) x5 attempts - 3) * 0.25 attempts ) x 20 b= ( yards touchdowns d=2.375 - interceptions attempts quarterback rating = (a +b+c+d) x 100

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Abrake has a normal braking torque of 2.8 kip in and heat-dissipating cast-iron surfaces whose mass is 40 lbm. suppose a load is brought to rest in 8.0 s from an initial angular speed of 1600 rev/min using the normal braking torque; estimate the temperature rise of the heat dissipating surfaces.
Answers: 3
question
Engineering, 04.07.2019 18:10
Water at 70°f and streams enter the mixing chamber at the same mass flow rate, determine the temperature and the quality of the exiting stream. 0 psia is heated in a chamber by mixing it with saturated water vapor at 20 psia. if both streams enters the mixing chamber at the same mass flow rate, determine the temperature and the quality of the existing system.
Answers: 2
question
Engineering, 04.07.2019 18:10
Ifa component is made of two or more materials with different modulus of elasticity (e), it is called a composite member and we calculate the factor·n". mention the formula for calculating n". also, ifn> 1, explain what will happen to the 1. transformed.gi) ifn 1, what will happen to the material when transformed material when
Answers: 1
question
Engineering, 04.07.2019 18:20
Agas mixture consists of 8 kmol of h2 and 2 kmol of n2. determine the mass of each gas and the apparent gas constant of the mixture.
Answers: 3
You know the right answer?
In the nfl, the quarterback is judged based on his throwing statistics: pass completions, pass atte...
Questions
question
Biology, 22.05.2020 05:00
question
Chemistry, 22.05.2020 05:00