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 16:10
An electrical motor raises a 50kg load at a construct velencity .calculate the power of the motor, if it takes 40sec to raise the load through a height of 24m(take g =9.8n/g)
Answers: 2
question
Engineering, 04.07.2019 18:10
Give heat transfer applications for the following, (i) gas turbines (propulsion) ) gas turbines (power generation). (iii) steam turbines. (iv) combined heat and power (chp). (v) automotive engines
Answers: 1
question
Engineering, 04.07.2019 18:20
Athin walled concentric tube exchanger is used to cool engine oil from 160°c to 60°c with water that is available at 25°c acting as a coolant. the oil and water flow rates are each at 2 kg/s, and the diameter of the inner tube is 0.5 m and the corresponding value of the overall heat transfer coefficient is 250 w/m2. oc. how long must the heat exchanger be to accomplish the desired cooling? cpwater=4.187 kj/kg-candcpengine el=2.035 kj/kg·°c, oil . 120]
Answers: 1
question
Engineering, 04.07.2019 18:20
A2-m rigid tank initially contains saturated water vapor at 100 kpa. the tank is connected to a supply line through a valve. steam is flowing in the supply line at 600 kpa and 300 c. the valve is opened, and steam is allowed to enter the tank until the pressure in the tank reaches the line pressure, at which point the valve is closed. a thermometer placed in the tank indicates that the temperature at the final state is 200°c. determine (a) the mass of steam that has entered the tank (b) the amount of heat transfer.
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
Physics, 27.09.2020 14:01
question
Mathematics, 27.09.2020 14:01
Questions on the website: 13722361