Display the property tax for n property owners

Assignment Help Programming Languages
Reference no: EM13191092

Write a java application that calculates and displays the property tax for N property owners. N should be declared as a constant and it should be equal to the largest digit of your student ID number (e.g. if your ID number is S223483 then N should be equal to 8 and you can declare it as final int N=8). The property tax is based on the assessed value of the property as shown below in Table 1.

1058_Calculate and displays the property tax.png

The application should ask the user to enter the name of the property owner and the assessed value of the property for each owner (total N owners) and calculate the property tax. The application should display the message with tax and the value of the property after tax as shown in the example below. At the end of the Nth owner, a receipt with total tax, largest tax and average tax should be displayed. The total tax is calculated by adding the tax amount for all owners. The largest tax is calculated by finding the largest amount from tax paid by N owners. The average tax is calculated by dividing the total tax with the number of owners. The format for your input and output must be same as given in example below.

Example for N=3 (Note that a loop should be used for reading the input and displaying the output)

Enter the name for Owner 1: Tim Pointing
Enter the value of the property for Owner 1: 9500
Hello Tim, your tax is $0 and the value of the property after tax is $9500.

Enter the name for Owner 2: Amy McDonald
Enter the value of the property for Owner 2: 200000
Hello Amy, your tax is $6000 and the value of the property after tax is $194000.

Enter the name for Owner 3: Rick Hilton
Enter the value of the property for Owner 3: 600000
Hello Rick, your tax is $30000 and the value of the property after tax is $570000.

------------------Receipt for Total Tax, Largest Tax and Average Tax------------------
Total tax is $36000
Largest tax is $30000
Average tax is $12000
-------------------------------------------------------------------------------------------------

The application should be user-friendly by displaying appropriate welcome and exit messages. The application should use the following classes and methods.

public class Owner
{
//declare constants
//declare variables
//declare constructor
//declare & define all methods including get and set methods
}

public class OwnerTest
{
public static void main(String[] args)
{
//create object
//get name, tax and value of the property after tax
//print output as shown in the example
}
}

What to submit
You should submit online the following files:

- Owner.java (this file contains class Owner)

- OwnerTest.java (this file contains class OwnerTest)

- Report.docx (this file contains a brief report that includes student name, student ID, course name, course code and test results (screenshots/test cases with results to show that your application is correctly working)).

Reference no: EM13191092

Questions Cloud

Would all produce about the same level of output : Industry studies often suggest that firms may have long - run average cost curves that show some output range over which there are economics of scale and wide range of output over which long- run average cost is constant; finally, at very high out..
Define cyclohexane-toluene mixture : cyclohexane-toluene mixture, and then obtain IR spectra for each fraction. How would the IR spectrum of the first 1 mL fraction look different from that of the last 1 mL fraction?
The level of total consumption in equilibrium : What is the difference between the optimal level of total consumption and the level of total consumption in equilibrium?
Find out if the sample has non-volatile impurities : Determine if the sample has non-volatile impurities (dissolved in it) b. If found to contain such impurities, determine a suitable method for its purification
Display the property tax for n property owners : Write a java application that calculates and displays the property tax for N property owners. N should be declared as a constant and it should be equal to the largest digit of your student ID number
Determine the annual effective interest rate : You have just applied for a credit card with the following term and condition: You are to pay 13.9% APR, compounded monthly.If your current balance is $3000 and you skip payments for 2 months, what would be the total balance in your credit card stat..
How the us has much stronger growth in output per labor hour : A recent Hal Varian commentary in the New York Times focused on the role of technological knowledge in explaining the different productivity experiences of Europe and the United States. Compared to Europe, the United States experienced much strong..
Calculate the premium of the second policy : Suppose your company is considering three health insurance policies. The first policy requires no tests and covers all preexisting illnesses. The second policy requires that all covered employees test negative for the HIV virus.
The value of that maximizes total consumer well-being : Consider an oligopolistic market with two firms. Each of them produces using a cost function then what is the value of that maximizes total consumer well-being?

Reviews

Write a Review

Programming Languages Questions & Answers

  Create program to compute monthly interest

Create program to compute the monthly interest and print new balances for each of the savers. Then set annualInterestRate to 5% and compute the next month's interest

  Program to solve roots of quadratic equation

Write down a program which solves the roots of the quadratic equation of the given form:- ax 2 + bx + c = 0. Display the results on screen.

  Write code for largest value of parking tickets

Without using any additional variables, and without changing the values of ndays or the elements of the parkingTickets array, write some code that results in mostTickets containing the largest value found in parkingTickets .

  Executive committee for alleviating it complexity

You are a consultant brought in by the executive committee to make recommendations for alleviating the "IT complexity" concerns of the executives at the company.

  Php code to add-delete product using ajax programming

PHP Code to add a new product and delete a existing product Implement AJAX Programming based solutions to write code to add a new product to the database.

  Write a program that will generate an array

Write a program that will generate an array

  Create mock level design for game

Write a 5-page "mock level design" in which you design a level for a game. The game is a shooter, the level is an old warehouse filled with zombies and demons with a boss at the end.

  Design stored procedure to accept optional parameters

Design a stored procedure named spBalanceRange that accepts three optional parameters. Procedure returns a result set consisting of VendorName, InvoiceNumber and Balance for each invoice with a balance due

  Implement the drunkards walk over 100 intersections

Implement the drunkard's walk over 100 intersections, starting at (0,0) and print the ending location.

  Advantages and disadvantages for windows login

The Windows login can be a user or a group with users defined to the group. What do you think the advantages and disadvantages are for each type?

  Functions of standard and statistical calculators

Write a windows application in Visual Basic to perform functions of standard and statistical calculators.

  Create program to sum all integers between one and n

Using C++ create program to sum all integers between 1 and n where n is input by keyboard. Print "The sum of all integers from 1 to n is SUM

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