Assignment 5 Property Tax problem’

You have been asked to write a property tax program for the tri-county area. If you live in Charleston county then you owe 1.5 percent of your home’s value if it’s less than or equal to $50,000. You owe 1.75 percent if it’s greater than $50000 but not greater than $150,000 and 2 percent if it’s greater than $150000. If you live in Dorchester county then you owe 1.25 percent of your home’s value if it’s less than or equal to $50000. You owe 1.50 percent if it’s greater than $50000 but not greater than $150000 and 1.75 percent if it’s greater than $150000. If you live in Berkeley county then you owe 2 percent of your home’s value if it’s less than or equal to $50000 of value, 2.25 percent if it’s greater than $50000 but not greater than $150,000 and 2.75 percent if it’s greater than $150000.

At the end of the program they want a reciept that shows: value for the home, the county it resides in and the property tax owed. You must use Switch logic when selecting the county in your code.

Rules for assigning tax:

  1. Customer will only get a tax based upon their home value and home county
  2. You don’t want to ask the tax payer what their home value is unless they have entered their county in correctly.
  3. The numbers that are input or placed on the reciept will not have any commas in them.
  4. Errors when the user types in the county must be tracked and trapped

The test data below is provided so you can test your solution using visual logic for your flowchart and html kit for your javascript. By providing you with examples of the type of input you could put into your program and what the resulting output would be. DO NOT use test data in you problem statement, flowchart or in your code. In example 1 below when the input asks “What is the home value?”, you would answer 1000000, then when it asks “charleston, dorchester or berkeley ? you would answer charleston. Your flowchart or code would then output “Tax Owed : $20000.00 ”

Test 1

input
The Home Value : 1000000.00
The county: charleston

output
The Home Value : $1000000.00
The county: charleston
The tax Rate: 2.00
Tax Owed : $20000.00

Test

input
The Home Value : 100000.00
The county: dorchester

output
The Home Value: $100000.00
The county: dorchester
The tax Rate: 1.50
Tax Owed: $1500.00

Test 3

input
The Home Value : 10000.00
The county: berkeley

output
The Home Value : $10000.00
The county: berkeley
The tax Rate: 2.00
Tax Owed : $200.00

You need to do the first step using a text editor, notepad++ is recommended. The second step is to test your solution using visual logic to create a flowchart and use the test data to test your solution. The last step is to create your solution in javaScript using html kit and again, use the test data to test your solution.

The problem statement:
Assumptions: (Scope and Constants)
Input
Calculations
Output

You will be turning in three files for this assignment

  1. Text document with your problem statement.
  2. .emf file (picture files) with your flowchart solution. After you finish your flowchart you will click the View menu and choose, “create flowchart metafile”
  3. A .html file with your javaScript using html kit.
  4. DO NOT zip your files together when you upload them. They need to uploaded separately as three files.
Subscribe For Latest Updates
Let us notify you each time there is a new assignment, book recommendation, assignment resource, or free essay and updates