Question: Write a complete Java program that inputs the Cleveland Browns Roster into an appropriate data structure and produces a sorted list of the roster based

Write a complete Java program that inputs the Cleveland Browns Roster into an appropriate data structure and produces a sorted list of the roster based on user's input. Ask the user if they want the data sorted by first name, last name, player number, age, weight, or College.

Use the scanner class to input the data

Use an array to hold the data (assume a MAX size of 100)

Sort the data on demand with a selection sort for "string" data (i.e., if the user decides to sort by first name, last name, or College) and with a bubble sort for integer data (player number, age or weight)

Algorithm Requirements (50%)

Used 2 different sort

Use 1 compare function

User selection of what to sort on

Java Mechanics Requirements (25%)

Read from file using Scanner, correctly detecting eof,

Communication Requirements (25%)

Removed default documentation

Name is commented

Meaningful variable, object, and method names or documentation of variable names

Menu of options easy to read

Clear directions for user

Write a complete Java program that inputs the Cleveland Browns Roster into

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!