Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The score of 13 is an example and after compiling the computer C program the output is given . I need to develop a computer

image text in transcribed

The score of 13 is an example and after compiling the computer C program the output is given

image text in transcribed

. I need to develop a computer program in C to be able to ask the user to put any other number of their choosing between 0-99 and my C program should compile an output with the multiple different scenarios that are possible with the combined scoring table. Exactly as the output of 13 points, the only difference will be a score of their choosing, which will lead to different data on the multiple scoring table.

PAT can only happen after the initail touchdown of 6 points. PAT can not exist without the a touchdown, hence point after touchdown (PAT). Also, Two-point conversion can only exist after the intial touchdown of 6 points. These are the only 2 exclusions that need a touchdown before they can exists. So if you don't score a touchdown, a PAT or a Two-point conversion can not exist.

Football Game Scoring Scenarios Objective: In this project, each student individually develops a computer program in C to list all the scoring scenarios for a given score of an American football game. Introduction 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) I touchdown, 1 PAT. 3 safeties, or 3) 1 touchdown. 1 two-point conversion, I field goal, I safety, or 4) 2 touchdowns, 1 PAT, or 5) 5 safeties, 1 field goal. Table 1. Scoring in football game Safety Touchdown Point After Touchdown Two-Point Conversion Scoring Event Score Field Goal 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Lab Manual For Database Development

Authors: Rachelle Reese

1st Custom Edition

1256741736, 978-1256741732

More Books

Students also viewed these Databases questions

Question

Prepare an ID card of the continent Antarctica?

Answered: 1 week ago

Question

=+What kinds of problems need to be overcome?

Answered: 1 week ago

Question

=+Describe an important trade-off you recently faced

Answered: 1 week ago