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

The results of a survey of the households in your township are available for pub

ID: 3546429 • Letter: T

Question

                    The results of a survey of the households in your township are available for public scrutiny. Each record contains data for one household, including a                     four-digit integer identification number, the annual income for the house-hold, and the number of household members.                     Write a program to read the survey results into three arrays and perform the following analyses.                 

                    
                

                    a. Count the number of households included in survey and prints a three-column table displaying the data. (Assume that no more than 25 households were                     surveyed.) display a table                 

                    
                

                    b. Calculate the average household income, and list the identification number and income of each household that                     exceeds the average. display a table, find average                 

                    
                

                    c. Determine the percentage of households that have incomes below the poverty level. Compute the poverty level                     income using the formula. p=$6500+$750*(m-2) where m is the number of members of each household. This formula shows that the poverty level depends on                     the number of family members, m, and that the poverty-level income increases as m gets larger. Test your program on the following data.                 

                    
                

                    Identification Number Annual Income Household Members                 

                    1041 12,180 4                 

                    1062 13,240 3                 

                    1327 19,800 2                 

                    1483 22,458 8                 

                    1900 17,000 2                 

                    2112 18,125 7                 

                    2345 15,623 2                 

                    3210 3,200 6                 

                    3600 6,500 5                 

                    3601 11,970 2                 

                    4724 8,900 3                 

                    6217 10,000 2                 

                    9280 6,200 1                 

                    "Must be in 1 data file"
                

                    
                

                     http://www.chegg.com/homework-help/questions-and-answers/help-program-im-stump-figuring-start-results-survey-households-township-available-public-s-q4376470                     <-- This link is the example in java how the answer should be look like but I need in C++                 

Explanation / Answer

1041 12,180 4

1062 13,240 3

1327 19,800 2

1483 22,458 8

1900 17,000 2

2112 18,125 7

2345 15,623 2

3210 3,200 6

3600 6,500 5

3601 11,970 2

4724 8,900 3

6217 10,000 2

9280 6,200 1



Hope this helps!

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