Skip to content

Conversation

@kedevlin
Copy link

@kedevlin kedevlin commented Apr 6, 2016

Project requirements complete for Java and Python.

Program displays info about the counties with the highest and lowest % of children in poverty for each state. Program accepts user input for the desired state and county and displays corresponding county name, percentage, count of children in poverty and the median household income. User is re-prompted until either WA or CA is selected and again until a valid county is entered. Users can type 'q' to escape the loops and end the program. County and state selections are not case sensitive.

public String med_income;

public County(String line) {
this.name = line.substring(193, 238);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick - since the file format could at some point change, might recommend setting these ints as constants which would map to the type of data they are associated with

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, updated

@kedevlin kedevlin changed the title Poverty Project - Java Poverty Project - Java and Python Apr 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants