Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Hi i need some help with this program, dont know exactly how to start, if someone would help out it would be greatly appreciated.

C++

Hi i need some help with this program, dont know exactly how to start, if someone would help out it would be greatly appreciated. Also if its not to much some comments would help to see what you did and why you did it. Thank you!! I think that the program has to call the numbers from another file, but im not sure.image text in transcribed

Apps G reddit: the front pag... G Netflix - Watch TV... G Hulu: Watch TV and... G YouTube https://onlinesApps G reddit: the front pag... G Program 9 - Searching, Sorting, and Algorithm Analysis 1042 12180.06 3 1062 13240.45 2 1327 19800.56 2 The results of a survey of the households in your township are available for public 1483 22458.237 scrutiny. Each record contains data for one household, including a four-digit intege 1900 17000.09 3 identification number, the annual income for the household, and the number o 2112 18125 4 household members. Write a program to read the survey results into three arrays and 2345 156232 perform the following analysis 3210 3200 1 3600 39500 5 3601 11970 2 a. Print the number of households included in the survey and print them in a three 4724 8900 3 column format with headings b. Calculate and print the average household income c. List the identification number andincome of each household that exceeds the 5724 66900 3 6217 45000.702 9280 6200 1 1000 31000 3 1200 36000 2 601 51970 9 5217 10002.68 2 5280 70000 1 5000 100000 6 average sorted by income d. List the identification number and income the households that have income below 5200 25000.4 3 the 2017 United States' Contiguous States poverty level sorted by identificatior 5230 120000 6 number. 6641 85000 7 7000 45500 4 7100 56500 3 e. Determine the percentage of households that have incomes below the 2017 Unitec 8110 110005.98 States' Contiguous States poverty level 9101 67590.40 6 Compute the poverty level income using the formula below povertyLevel = 16020.00 + 4160.00 * (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 the poverty leve income increases as m gets larger The input data is available in file named, Program9.txt on the l: drive and has the format of identification number, annual income for the household, and the number household members No input, processing, or output should happen in the main function. The output of program must be sent to an output file named, Program9-out.txt

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Structure Of The Relational Database Model

Authors: Jan Paredaens ,Paul De Bra ,Marc Gyssens ,Dirk Van Gucht

1st Edition

3642699588, 978-3642699580

Students also viewed these Databases questions