Reference no: EM131270049
Write a program (propertyTax.java) to the following specification:
The local property tax is about to be collected by the government. You are to program an alternative way of calculating the property tax.
A user is asked for the following information about their home:
Number of bedrooms·
Is it urban or rural?·
Is it terraced, semi-detached, or detached?·
Use the method specifications overleaf to develop the methods calculateSize and calculatePropertyTax.
Use the methods to calculate the property tax for a user and then display the value to the user.
Method name - calculateSize
Description - This method determines roughly how big the house might be.
It uses the following formula:
Initial size of the house is set as follows:
Terraced: 800 square feet
Semi-detached: 900 square feet
Detached: 1,000 square feet
Each bedroom adds 100 square feet.
E.g. Semi-detached house with 3 bedrooms = 900 + (3 x 100) = 1,200
Returns The estimated square footage
Parameters accepted:
1. Number of bedrooms
2. House type (i.e. Is it terraced, semi-detached or detached)
See the following for calculatePropertyTax:
Method name - calculatePropertyTax
Description - This method calculates the property tax as follows:
The tax is initially calculated as 15% of the square footage.
If the house is urban, the tax is multiplied by 1.25
Example:
Estimated square footage of 1,200 square feet.
Urban: 1,200 x 15% = 180
Urban, so multiply by 1.25... 180 x 1.25 = 225
Returns - The property tax amount
Parameters accepted:
1. Estimated square footage
2. Value indicating if house is urban or rural
The system must accept multiple properties, and give the Highest, Lowest, Average, and Total Property Tax Information.
Differences between human smuggling and human trafficking
: What are the differences between human smuggling and human trafficking? Are most people entering the United States every year smuggled or trafficked into the country?
|
Movement from comics to a variety of activities
: According to Larry Marder, the president of the McFarlane Companies, the company has changed and morphed and grown over the years from a company that simply produced comic books to a company that is also involved in sports figures, music videos, and ..
|
The past two years was stifling product development
: As a manager of the company's sales force of 12 people,you report directly to the CEO, who also happens to be the sole owner and founder of Pro Media. Over coffe last week, he mentioned that the company's growth of less than 10 percent for the past t..
|
What are the byte addresses that memory word 42 spans
: Draw the number 0xFF223344 stored at word 42 in both big-endian and little-endian machines. Your drawing should be similar to Figure 6.4. Clearly label the byte address corresponding to each data byte value.
|
Write a program to the givrn specification
: Write a program (propertyTax.java) to the following specification: The local property tax is about to be collected by the government. You are to program an alternative way of calculating the property tax.
|
Assuming the capacity of the lift truck is one unit load
: The route sheet for a part is as follows: A-F-E-D-C-B-A-F Two thousand pieces will flow through from the first machine A to the final machine F based on the given sequence of operations. A unit load size of 50 is initially specified at the first mach..
|
What is the issue of consideration
: There are four models of Intervention related to the responsibility of the scientist or practitioner. Please choose one of the following and explain it: Total intervention, No intervention, Limited intervention, and Directed intervention.
|
What is the byte address of memory word 42
: Draw the number 0xFF223344 stored at word 42 in both big-endian and little-endian machines. Your drawing should be similar to Figure 6.4. Clearly label the byte address corresponding to each data byte value.
|
How jaguar implements aggregate planning
: How jaguar implements aggregate planning?
|