Question
Need big time help with this Programming project Java Programming JUST NEED HELP WITH THIS ONE SECTION EDIT: Here is the states1.csv State Capitol Region
Need big time help with this Programming project
Java Programming
JUST NEED HELP WITH THIS ONE SECTION
EDIT: Here is the states1.csv
State | Capitol | Region | US House | Population | Covid cases | Covid deaths | Median House income | Violent Crime rate | |||
Pennsylvania | Harrisburg | Middle Atla | 18 | 12801989 | 748564 | 18742 | 61744 | 306.4 | |||
Michigan | Lansing | Midwest | 14 | 9986857 | 576573 | 14511 | 57144 | 437.4 | |||
South Carolina | Columbia | South | 7 | 5148714 | 371180 | 5934 | 53199 | 511.3 |
a. Prompt user to enter the name of the CSV file, e.g., States1.csv, as input to theCreate a class named Project1 that will:
system.
b. Parse States1.csv and create an array of State objects containing the data in the file.
c. Offer the user the following options:
1) Print a States report
2) Sort by name (alphabetically using Bubble sort)
3) Sort by COVID-19 case fatality rate (CFR) (ascendingly using Selection
sort): CFR is the ratio of deaths over cases.
4) Sort by median household income (ascendingly using Insertion sort)
5) Find and print a State for a given name (using binary search if the data is
sorted by name; sequential search, if not)
6) Print Spearmans r correlation matrix in the following format
Median House hold income | Violent Crime rate | |
COVID 19 death rate | X | X |
COVID 19 case rate | X | X |
(Case rate is the number of cases per 100,000 population. That is, case rate of a state is equal to its cases divided by its population and then times 100,000. Death rate is defined similarly. Violent Crime Rate from our dataset already is per 100,000. The Spearmans r correlation between two fields is defined next section. Xs are the actual values you computed.)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started