132k views
4 votes
Create a flowchart designing a solution to the following problem:

Anna has saved $50,000 for a down payment on a house. Your algorithm will ask Anna how much the house she would like to purchase costs (verify that the entered value is at least $10,000 and no more than $1,000,000.) If Anna’s savings is at least 20% of the house cost, provide a message that tells her that she will not have to pay for mortgage insurance. If, however her savings is less than 20%, but more than 10% provide a message that she can still purchase the home but will have to have the insurance. If unfortunately her savings are 10% or less of the home cost provide a message that she is not eligible to purchase the home and tell her the maximum home price she can afford.

User Stefan
by
7.9k points

1 Answer

3 votes

Answer:

The question requires the answer as an attachment

Step-by-step explanation:

I've added the flowchart as an attachment (See attachment for flowchart)

The flowchart follows the sequence and conditions in the question

Create a flowchart designing a solution to the following problem: Anna has saved $50,000 for-example-1
User Ankur Gautam
by
7.4k points