Question: Write a simple procedural program in JAVA that will read this file: football.txt Include arrays in your code. Have a menu option to choose which

Write a simple procedural program in JAVA that will read this file: football.txt
Include arrays in your code.
Have a menu option to choose which one to do.
These methods could go in main or the class definition, you choose.
Menu
Option 1: Highest Passing Yards
Option 2: Lowest Passing Yards
Option 3: Average Passing Yards
Option 4: Quit
Determine the highest passing yards. You will need to find the largest number in the data file - chapter 4 describes how to do this. Display the highest yards and the player's name.
Determine the lowest football passing yards . You will need to find the smallest number in the data file - chapter 4 describes how to do this. Display the lowest yards and the player's name.
Determine the average of all of the passing yards.
football.txt file.
Player Most Passing yards
Tom Brady
80560
Drew Brees
80358
Peyton Manning
71940
Brett Favre
71838
Phillip Rivers
63440
Ben Roethlisberger
61381
Dan Marino
61361
Eli Manning
57023
Matt Ryan
56757
Aaron Rogers
54142

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 Programming Questions!