Question: The computer program must be in C. Notice that a PTA or a 2-or conversion can only follow a touchdown. The example output is of

 The computer program must be in C. Notice that a PTA

or a 2-or conversion can only follow a touchdown. The example output

The computer program must be in C. Notice that a PTA or a 2-or conversion can only follow a touchdown. The example output is of 13 points and it gives the number of searches and scenarios separately from the case and delivery of points. please include an exact same output of any number between 0-99.

In the American football game, the scores for each scoring event is listed in Table 1. If a team scored 13 points in a game, the team can get the points from: 1) 1 touchdown, 1 PAT (point after touchdown), 2 field goals, or 2) 1 touchdown, 1 PAT, 3 safeties, or 3) 1 touchdown, 1 two-point conversion, 1 field goal, 1 safety, or 4) 2 touchdowns, 1 PAT, or 5) 5 safeties, 1 field goal. Table 1. Scoring in football game Scoring Event Field Goal Safety Touchdown Point After Touchdown Two-Point Conversion Score Your Modelling In this project, you are using computer programming to ask a user to input a score of a football game, and the program outputs all the possible scenarios in a table format similar to Table 1. Notice that not any combination of the scoring events is possible. For example, the number of PAT or two-point conversions can NOT exceed the number of touchdowns. Make sure you use at least two user defined functions in your program. You can use the above case for testing your program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!