Problem

In football, there is a statistic for quarterbacks called the passer rating. To calculate...

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.

Step-by-Step Solution

Request Professional Solution

Request Solution!

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.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 1
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT