Andrew K.

asked • 02/16/21

Conditionals_Lab_2

A town contains 5000 houses. Each house owner must pay tax based on the value of the house. Houses over $50,000 pay 1% of their value in tax, houses over $100,000 pay 1.5% of their value in tax, and houses over $200,000 pay 2% of their value in tax. All others pay no tax.

  1. Input the value of a house
  2. Output the value of the house, the tax amount in percentage and tax amount (in dollars), and the total amount (house plus tax amount). All dollar amounts must have an “$” symbol proceeding the dollar amount.
  3. Round the dollar amounts to 2 decimals.


1 Expert Answer

By:

Patrick B. answered • 02/17/21

Tutor
4.7 (31)

Math and computer tutor/teacher

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.