Question

In: Computer Science

Design a pseudocode design to process a property tax report. A different tax amount is charge based on whether the property is a home or commercial property.

Design a pseudocode design to process a property tax report. A different tax amount is charge based on whether the property is a home or commercial property. If the home is owned, is it a residence or noresidence, the how much is it worth? If the property is commercial is a commercial building or commercial land, then how much is it worth? Process the problem for any number of input records. A zero(0) is entered for the property type after the last input is entered.

Check only one condition in each decision statement. (You can not use the AND condition with the IF statement.)

Input consists of:

                Property type (1 or 2)                                    1 = Home

                                                                                                2 = Commercial

                Property owner name

                Home type ( 0 or 1)                                         0 – Non residence

                                                                                                1 – Residence

                Assessed Value

                Commercial property type

                                                                                                0 – Commercial Land

                                                                                                1 – Commercial Building

Outout consists of:

                Property owner name

                Assessed value

                Tax rate

                Property type (tax rate * assessed value)

Total line output:

                Average assessed value of buildings

                Average assessed value of land

                Total number of buildings worth over $200,000

                Total number of home worth under $150,000

The Property Tax is determined in the following manner:

If the property is a home, is used as the residence of the owner, and the assessed value is greater than $150,000, the tax rate is 2%

If the property is a home, is used as the residence of the owner, and the assessed value is equal to or less than $150,000, the tax rate is 1.4%

If the property is a home, is not the primary residence of the owner, and the assessed value is greater than $95,000, the tax rate is 2%

If the property is a home, is not the primary residence of the owner, and the assessed value is less than or equal to $95,000, the tax rate is 1.4%

If the property is commercial, is a building, and the value is greater than $200,000, the tax rate is 2.5%

If the property is commercial, is a building, and the value is less than or equal to $200,000, the tax rate is 2%

If the property is commercial, is land, and the value is greater than $60,000, the tax rate is 2.5%

If the property is commercial, is land, and the value is equal to or less than $60,000, the tax rate is 2%

Solutions

Expert Solution

Pseudo code:

Begin

Declare variable choice1 for property_type selection

Declare variable property owner name.

Declare variable choice2 for home type selection.

Declare variable value for Assessed value.

Declare variable value for Tax rate.

Declare variable choice3 for commercial property type selection.

Prompt for the property type.

Input choice1.

Prompt for the owner name.

Input owner name.

If choice1==1

Declare property_type=Home.

Prompt for the choice of home type.

Input choice2.

If choice2==0

Declare residence type=Non Residence.

Prompt for the Assessed value.

Input Assessed value.

If(residence type= Non Residence AND Assessed value >$95,000)

Tax rate=2%.

Value1= Tax rate* Assessed value

Print Owner name

Print Assessed value

Print Tax Rate

Print residence type

Print value1

End if

If(residence type= Non Residence AND Assessed value =<$95,000)

Tax rate=1.4%.

Value1= Tax rate* Assessed value

Print Owner name

Print Assessed value

Print Tax Rate

Print residence type

Print value1

End if

Else if(choice2==1)

Declare residence type= Residence.

Prompt for the Assessed value.

Input Assessed value.

If(residence type= Residence AND Assessed value >$150,000)

Tax rate=2%.

Value2= Tax rate* Assessed value

Print Owner name

Print Assessed value

Print Tax Rate

Print residence type

Print value2

Print Owner name

Print Assessed value

Print Tax Rate

Print residence type

Print value2

End if

If(residence type= Residence AND Assessed value =<$150,000)

Tax rate=1.4%.

Value2= Tax rate* Assessed value

Print Owner name

Print Assessed value

Print Tax Rate

Print residence type

Print value2

End if

Total = value1 +value2

If(property type= Residence || Non Residence and Total<1500,000)

Print Total Home worth: Total

End if choic1

End if //choice2

Else if(choice1==2)

Prompt for the choice of commercial property type.

Input choice3.

If choice3==0

Declare commercial property type= commercial land.

Prompt for the Assessed value.

Input Assessed value.

If(commercial property type= commercial land AND Assessed value >$60,000)

Tax rate=2.5%.

Value1= Tax rate* Assessed value

Print Owner name

Print Assessed value

Print Tax Rate

Print commercial property type

Print value1

End if

If(commercial property type= commercial land AND Assessed value =<$60,000)

Tax rate=2%.

Value1= Tax rate* Assessed value

Print Owner name

Print Assessed value

Print Tax Rate

Print commercial property type

Print value2

End if

Average=value1+value2/2

Print Average Assessed value of land: average

Else if(choice3==1)

Declare commercial property type= commercial building.

Prompt for the Assessed value.

Input Assessed value.

If(commercial property type= commercial building AND Assessed value >$200,000)

Tax rate=2.5%.

Value1= Tax rate* Assessed value

Print Owner name

Print Assessed value

Print Tax Rate

Print commercial property type

Print value2

End if

Average=value1+value2/2

Print Average Assessed value of buildings: average

If(commercial property type= commercial building AND Assessed value =<$200,000)

Tax rate=2%.

Value2= Tax rate* Assessed value

Print Owner name

Print Assessed value

Print Tax Rate

Print commercial property type

Print value2

End if

End if

Total = value1 +value2

If(commercial property type= commercial building and Total>200,000)

Print Total building worth: Total

End if choice1

End


Related Solutions

Create an application that calculates and displays the amount of a homeowner’s property tax. The tax...
Create an application that calculates and displays the amount of a homeowner’s property tax. The tax is 1.35% of the property’s assessed value, which will be entered by the user. a. Prepare a Planning Chart for the application. b. Draw a sketch of an appropriate interface. Be sure to follow the GUI design guidelines covered in the chapter. The guidelines are summarized in Figure 2-20. (If you want to include an image in the interface, you can either use your...
Design an experiment to determine the amount of charge on a balloon. List the equipments, procedures,...
Design an experiment to determine the amount of charge on a balloon. List the equipments, procedures, and equations that would be used.
who can slove this question? "In China's property tax, whether it is land value tax or...
who can slove this question? "In China's property tax, whether it is land value tax or house tax, the tax rate is set by the central government in principle, that is to say, the property tax item tax rate of each county and city government is the same, but why is the effective tax rate different? Please refer to you The learned property tax theory explains this phenomenon.”
Design and implement a C++ program with functions to calculate the pre-tax charge: If the customer...
Design and implement a C++ program with functions to calculate the pre-tax charge: If the customer subscribes to a phone plan called Plan200, then he is charged $5 for the first 200 minutes. For each additional minutes, the customer will be charged $0.10. If the customer subscribes to a phone plan called Max20, then he is charged $0.05 for each minute up to $20. (I.e., the customer never needs to pay more than $20.) If the customer is not subscribed...
At the start of 2020, a county general fund issues property tax bills in the amount...
At the start of 2020, a county general fund issues property tax bills in the amount of $9,000,000. It expects to collect $8,800,000 from property owners, with the rest expected to be uncollectible. During the year, $8,750,000 in 2020 property taxes is collected. Of the remaining $250,000 in uncollected taxes at year-end, it is estimated that $100,000 will be collected within 60 days and the rest are uncollectible. Using the attached T-account template, prepare the entries required to recognize the...
Which of the following statements are true different companies will use different charge of accounts based...
Which of the following statements are true different companies will use different charge of accounts based on an individual company me? The chart of accounts contains the balance all the accounts to let her? The general ledger contains all of the accounts that a company uses along with the detail balances in those accounts? The general ledger of the chart of accounts can be ordered in any sequence because they are not formally financial systems?
1, Intervention in the foreign exchange market is the process of a. commercial banks in different...
1, Intervention in the foreign exchange market is the process of a. commercial banks in different countries coordinating efforts in order to stabilize one or more currencies. b. the government of a country prohibiting transactions in one or more currencies. c. a central bank buying or selling its currency in order to influence its value. 2, You noticed that when stocks declined substantially [February 20 to March 23], long term government bonds increased in value substantially. a. Neither statement is...
Buh-RING IT! For this assignment, you’re going to simulate a text-based Role-Playing Game (RPG). Design (pseudocode)...
Buh-RING IT! For this assignment, you’re going to simulate a text-based Role-Playing Game (RPG). Design (pseudocode) and implement (source) for a program that reads in 1) the hero’s Hit Points (HP – or health), 2) the maximum damage the hero does per attack, 3) the monster’s HP and 4) the maximum monster’s damage per attack.   When the player attacks, it will pick a random number between 0 and up to the maximum damage the player does, and then subtract that...
Price discrimination exists when a business is able to charge different prices to different customers based...
Price discrimination exists when a business is able to charge different prices to different customers based on their willingness to pay. Answer the following questions regarding price discrimination with Apple. 1. What good or service do they sell? 2. Which degree of price discrimination do they engage in? (1st, 2nd or 3rd) 3. How are they able to determine which customers are willing to pay more for the good or service? Explain in detail. 4. How are they able to...
Effective nuclear charge is: A- the amount of attraction between electrons of two different atoms. B-...
Effective nuclear charge is: A- the amount of attraction between electrons of two different atoms. B- the amount of attraction that an electron "feels" for the nucleus. C-a nuclear explosion that effects global warming. D-the difference between the number of protons and electrons in an atom. E-the repulsion that occurs among core electrons.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT