$4.00 I am lost netbeans
- From Computer-Science: General-CS , Computer-Science: Object-Oriented-Programming
- Closed, but you can still post tutorials
- Due on Oct. 16, 2009
- Asked on Oct 15, 2009 at 10:49:26PM
Q:must be in netbeans only
Develop an application that reads city, state, and population from an input text file.
Example census input text file should be of the format:
Jamestown FL 50000
Domville CO 10000
Jennyboro FL 30000
Lillyville CO 50000City should be the first field, state abbreviation should be the second field, and the population (no commas) should be the third field. White spaces (no commas) should be used as the delimiter between each field and a platform independent line separator should be used at the end of each city record. Your file may be used as input to a future application which is why the format is important.
If the population of the city is greater than or equal to 50,000 write the city information to a text file called BigCities.txt. If the population of the city is less than 50,000 write the city information to a text file called SmallCities.txt.
If your output file(s) already exist, you should append to the file and not overwrite it. Your output text files should be in the same format as the input census text file. City should be the first field, state abbreviation should be the second field, and the population (no commas) should be the third field. White spaces (no commas) should be used as the delimiter between each field and a platform independent line separator should be used at the end of each city record. Your output files may be used as input to a future application which is why the format is important.
Your application should execute by running the main project. Do not submit any code within your project that is not related to this assignment.



