Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A non-governmental organization needs a program to calculate the amount of financial assistance for needy families. The formula is as follows: If the annual household

A non-governmental organization needs a program to calculate the amount of financial assistance for needy families. The formula is as follows:

If the annual household income is between $30,000 and $40,000 and the household has at least three children, the amount is $1,000 per child.

If the annual household income is between $20,000 and $30,000 and the household has at least two children, the amount is $1,500 per child.

If the annual household income is less than $20,000, the amount is $2,000 per child.

Create the pseudocode for the following: Implement 1 method for the above. Then in main, write a program that asks the user for their household income and number of children, then prints the calculated financial assistance amount returned by your method.

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions

Question

Bring out the limitations of planning.

Answered: 1 week ago

Question

Why should a business be socially responsible?

Answered: 1 week ago

Question

Discuss the general principles of management given by Henri Fayol

Answered: 1 week ago

Question

Detailed note on the contributions of F.W.Taylor

Answered: 1 week ago

Question

e. What difficulties did they encounter?

Answered: 1 week ago