In football, there is a statistic for quarterbacks called the passer rating. To calculate the passer rating, you need five inputs: pass completions, pass attempts, total passing yards, touchdowns, and interceptions. There are five steps in the algorithm. Write a program that asks for the five inputs and then prints the pass rating:
(a) C is the “completions per attempt” times 100 minus 30, all divided by 20.
(b) Y is the “yards per attempt” minus 3, all divided by 4.
(c) T is the “touchdowns per attempt” times 20.
(d) I is 2.375 minus (“interceptions per attempts” times 35).
(e) The pass rating is the sum of C, Y, T, and I, all divided by 6 and then multiplied by 100.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.