Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a simple java code progam that ask you to analysis mice population . You have been asked to write an analysis of the Mice
Write a simple java code progam that ask you to analysis mice population You have been asked to write an analysis of the Mice population by town in New Jersey. The accompanying file contains data about each town. The format of the file is the name of the town, square miles and the number of Mice counted. You will need to produce the report as follow:
tableTownshipSquare,Mice,Mice Per,MiceFleaFlea ThreatNameMiles,Population,Square Mile,Coefficient,Indicatoren Tow,RAN
The MiceFlea coefficient is calculated by dividing the number Mice per square mileSquare miles.
The higher the coefficient the denser the Mice population and the greater the threat of Flea infestation to humans. The
Flea threat is indicated by a color to indicate the danger to human for diseases such as Murine typhus disease as follows:
Flea Threat
Threat Indicator
Less than equal to
Greater Than and less than or equal to
RED
Greater Than or less than or equal to
ORANGE
Greater Than or less than or equal to
YELLOW
Greater Than
GREEN
BLUE
You will create program to offer the user the ability to produce the report as show about in alphabetical order by township name or in size order by township square mile. The program will also allow the user to send the report to the screen, to a file or to both. You program must also allow the user to type in the name of the township to look up the above data for the selected township.
An example of menu may be:
New Jersey Health Services
Mice Report by Town
Mice Report by Town Size
Town Look up
Exit
City of Red
Boro of Orange
Yellow City
Green Town
Blueville
Indigo Village
Violeton
Redburg
Orange Park
Yellon Ealls
Green Haven
Blue City
Indigo Township
Violet Point
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