Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poverty Project - Java and Python #9

Open
wants to merge 45 commits into
base: master
Choose a base branch
from

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