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 percent of your home's value if it's less than or equal to $50,000. You owe 1.50 percent if it's greater than $50,000 but not greater than $150,000 and 2 percent if it's greater than $150,00. 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 $50,000. You owe 1.50 percent if it's greater than $50,000 but not greater than $150,000 and 1.75 percent if it's greater than $150,000. If you live in Berkeley county then you owe 2 percent of your home's value if it's less than or equal to $50,000 of value, 2.25 percent if it's greater than $50,000 but not greater than $150,000 and 2.75 percent if it's greater than $150,000.
At the end of the program they want to see the value for the home, the county it resides in and the property tax owed. You must use select case logic where it is best used. * When flowcharting and coding this solution you do not have to assign all though percentages at the start of the program.
Test Data (2 different examples and their outcomes) use these values to test your code.
| Example 1: $45,000 house in Charleston County tax owed: $450.00 (45000 * .01) |
Example 1: $200,000 house in Dorchester County tax owed: $3,500.00 200000 * .0175) |
You must do four things with the problem:
1. Develop a problem statement (using
notepad):
a. Assumptions
b. Input
c. Calculations
d. Output
2. Write a human algorithm (step by step process for solving this problem. Remember you must make each step simple, don't try and combine steps, break everything down to it's simplest form (using notepad).
3. Flow Chart: Use visual logic. With visual logic you will have to create a picture of your flowchart. Click on view, create metafile to include in word document. You can import the metafile into word. You can also just upload the visual logic file and leave it out of the word document.
4. Create the VB Script that will solve this problem using html kit.