Question: need this in C 1. Create a program that displays the NFL stadium information. Create #define s for the number of array elements and lengths

need this in C

1. Create a program that displays the NFL stadium information. Create #defines for the number of array elements and lengths of data members. Create a typedef for a structure to hold the stadium information (stadium name, seating, city, state, teams, year opened). In the main function, declare an array of structures to hold the data. (Allow for 50 stadiums.) In the main, call a function to load the stadium information (stadium name, seating, city, state, teams, year opened ) from the attached pipe delimited file* into the array of structures. The program will initially display a welcome message that includes your name. Then the program will repeatedly display a menu that allows the user to display the stadium information, query stadium information, or exit. Menu options in the main menu allow the user to: 1) display the data for all stadiums, 2) display the data for stadiums in a specified state, 3) display the data for stadiums by name (allow for partial matches), 4) display stadiums with seating that exceeds the user specified value, 5) display the data for stadiums built before the user specified value, and 9) exit. Create and call functions to perform the processing for options 1-4. Allow the user to repeatedly select menu options until choosing to exit.

Allow the user to:

- Display the data for all stadiums

-Display the data for stadiums in a state

-Display the data for stadiums by name (allow for partial matches)

-Display the data for stadiums that exceed a specified capacity

-Display the data for stadiums built before a specified year

-Exit the program

Include a comment before each function to document its processing, parameters and return value.

Notes:

* Include a comment containing your name, course, date, and file name at the beginning of each source file

* Properly indent the source code and provide comments before each function describing the parameters, return value, and processing

* Use functions, arrays, pointers, strings, structures, and files in your program.

need this in C 1. Create a program that displays the NFLstadium information. Create #defines for the number of array elements and lengths

1. Create a program that displays the NFL stadium information. Create #dennes for the number of array elements and lengths of data members. Create a typedef for a structure to hold the stadium information (stadium name, seating, city, state, teams, year opened). In the main function, declare an array of structures to hold the data. (Allow for 50 stadiums.) In the main, call a function to load the stadium information (stadium name, seating, city, state, teams, year opened ) from the attached pipe delimited file nto the array of structures. The program will initially display a welcome message that includes your name. Then the program will repeatedly display a menu that allows the user to display the stadium information, query stadium information, or exit. Menu options in the main menu allow the user to: 1) display the data for all stadiums, 2) display the data for stadiums in specified state, 3) display the data for stadiums by name (allow for partial matches), 4) display stadiums with seating that exceeds the user specified value, 5) display the data for stadiums built before the user specified value, and 9) exit. Create and call functions to perform the processing for options 1-4. Allow the user to repeatedly select menu options until choosing to exit. Allow the user to: Display the data for all stadiums . Display the data for stadiums in a state . Display the data for stadiums by name (allow for partial matches) . Display the data for stadiums that exceed a specified capacity . Display the data for stadiums built before a specified year . Exit the program Include a comment before each function to document its processing, parameters and return value. Notes: Include a comment containing your name, course, date, and file name at the beginning of each source file Properly indent the source code and provide comments before each function describing the parameters, return value, and processing . . Use functions, arrays, pointers, strings, structures, and files in your program. 2. To submit your assignment: Turn Spell Checking off before you print code in Black & White for the source files for the program. Note: Ifyou are using the Dev C/C++ compiler, remember to insert system("PAUSE": before the return from the main program. Include a comment containing your name, course, and date at the beginning of each source file. Print a sample run (output) from your application. Print sample reports (output) from your application. . . .Staple the listing of the source code and output. . Upload an electronic copy of the source code, and output files for the application to Blackboard for the project. Turn in on or before the due date. NFLStadiums2017.txt

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!