Question: 1. Design (using a flowchart and pseuodocode with C syntax - optional) and implement a modular program that will read the data from a file*
1. Design (using a flowchart and pseuodocode with C syntax-optional) and implement a modular program that will read the data from a file* into parallel arrays containing the league, division, team name, wins, losses, and ties. Call the function to determine and store the percentage wins. Allow the user to repeatedly query the team standings. Provide a menu that allows the user to display all team information, or search for a team by league, by division, by percentage wins above a user-specified value, or by percentage wins below user specified value, and display the team information matching the criteria or a message if none found. Before the program exits, Cal an e u t n s display a message that the results were provided by your name Create functions to: e Display the welcome message Display results provided by e Compute and return the percentage wins Display the data for one teamm Display the data for all teams include a comment before each function to describe its processing parameters and return value. nclude a comment containing your name, course and date at the beginning of the source code. Include a comment before each function to describe the processing input parameters, and return value. (IfF appropriate, state that the functions have no input parameters and no return value.) Include comments to document your code. 2Create a set of test data and expected results for each of the menu options. Run the program using each set of test data and compare against the expected results 3 To submit your assignment source code for the program Note: If you are using CodeBlocks, check that no lines are missing between the size is 'Letter and NOT A4" If you are using the Dev C/C+compiler, remember to include Include a comment containing your name, course, and date at the beginning of the source code Print a sample run (output) from your application (See instructions under Course Information) Staple the listing of the source code and output end of one page and the beginning of the next (Check that the paper stdlib hs and insert system@PAUSE) before the return from the main program ploa ie eriaten ecopy e the sure coe bor the spoiction t Blacisboard When complete Subrmit the assignment Turn in the printed documents on or before the due date. ete Submit the assignment Download attached NFLStandings 20171031.tit file. NFLStanding 20171031 tt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
