Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
Please give me in java but use if else and one dimensional array and also sorting too You have been asked to write an analysis
Please give me in java but use if else and one dimensional array and also sorting too You have been asked to write an analysis of the Mice population by town in New Jersey. The accompanying file coatains 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: The Mice/ Flat coefficient is ealculated by dividing the number (Mioe per square mile)/Square 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 discases such as Murine typhus disense is follows; You will ereate program to offer the user the ability to produce the report as show about in alphabetical order by township nume 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 1- Mice Report by Town 2- Mice Report by Town Size 3. Town Look up 0 - Exit Your program must use parallel arrays or an amay of objects to process the data. Do not use the SArray> class. You will be grided on your use of Methods, on your reading of the data from the file, your use of proper fommatting teclaniques
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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