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, 03.07.2019 15:10
Two flowing streams of argon gas are adiabatically mixed to form a single flow/stream. one stream is 1.5 kg/s at 400 kpa and 200 c while the second stream is 2kg/s at 500 kpa and 100 ? . it is stated that the exit state of the mixed single flow of argon gas is 150 c and 300 kpa. assuming there is no work output or input during the mixing process, does this process violate either the first or the second law or both? explain and state all your assumptions.
Answers: 1
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
The higher the astm grain size number, the finer the gran is. a)-true b)-false
Answers: 2
question
Engineering, 04.07.2019 18:10
Aturning operation is performed with following conditions: rake angle of 12°, a feed of 0.35 mm/rev, and a depth of cut of 1.1 mm. the work piece is aluminum alloy 6061 with t6 heat treatment (a16061-t6). the resultant chip thickness was measured to be 1.0 mm. estimate the cutting force, fc. use shear stress of 207 mpa and coefficient of friction on the tool face of 0.6.
Answers: 1
You know the right answer?
In the nfl, the quarterback is judged based on his throwing statistics: pass completions, pass atte...
Questions
question
Mathematics, 07.09.2020 01:01
question
Mathematics, 07.09.2020 01:01
question
Mathematics, 07.09.2020 01:01
question
Mathematics, 07.09.2020 01:01
Questions on the website: 13722362