Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

This program will import an input file that will have information on any number

ID: 3679955 • Letter: T

Question

This program will import an input file that will have information on any number of families (up to 15). The information will consist of ID#, Number of family members, yearly income and state of residence. You do not know the number of families on the file being imported. Data in the input file will look like this (representing their ID, number of members, income and state).

3489 4 45000 WA

The graphic window you present to the user will allow them to choose what reports to generate.
Report 1 - Write out to a file all the families that fall below the poverty level (see Poverty Guidelines below).
Report 2 - Display in the window all the families that are above the average income.
Report 3 - Display in the window the % of families that fall below the poverty level.
Report 4 - Write out to a file all the data about the families and add a field that indicates if they fall below the poverty level.

When you import the data from the input file you will need to put the data into lists and then place those lists into a master list. That master list will hold all the data from the original input file (and more). When processing any data for the above reports you need to pull it from the master list not from the other lists or the input file. There will be six buttons. One to import the input file and the others to generate the 4 reports, and an exit button. Use functions for this homework.

You will submit 4 files:

Your code (both py and pdf)

Report 1: lastname_firstname_report01.txt

Report 4: lastname_firstname_report04.txt

input file:

3489 2 32500 WA
3490 5 23000 AK
3491 4 38210 HI
3492 2 38000 AK
3493 1 26000 AZ
3494 3 16400 HI
3495 4 25000 CA
3496 4 20500 FL
3497 2 18000 HI
3498 3 19700 WA
3499 8 30000 VA
3500 5 23400 AL
3501 2 19700 VA
3502 3 13000 PA

Explanation / Answer

If you need in Java I can provide the answer.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote