Write a program to the givrn specification

Assignment Help JAVA Programming
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.

Reference no: EM131270049

Questions Cloud

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?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd