Calculates and displays the property tax

Assignment Help Programming Languages
Reference no: EM13186490

Assessment task

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.

2119_Calculates 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.

Reference no: EM13186490

Questions Cloud

Compute the work done in joules mole of an ideal gas : Calculate the work done in Joules (for each case) when one mole of an ideal gas, initially at P = 9atm, T = 298K is expanded isothermally to P=1atm if
Calculate the final t : allowed to expand adiabatically against constant Pext = 10 atm. Compute the final T, ?U, and ?H for this process. Use Cv = 20.8 J/mol*K and assume the gas is ideal.
Explain what is the daily input rate of coal : A 680 MW coal fired power plant is 34% efficient at producing electricity. The coal has a heating value of 20,000 kJ/kg, an ash content of 5.5% and a sulfur content of 4.5%. Note: 1 MW = 1000 kW , and 1 kW = 1 kJ/s. a. What is the daily input rate..
Explain light of theory of supply and demand for regulation : Environmental Protection Agency (EPA) regulations tend to go through many stages of review and approval before they are implemented. Not only do many regulators have to approve a new regulation, but comments and reviews from industry and conservat..
Calculates and displays the property tax : 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
How many magnesiun atoms are in three moles of mg : How many magnesiun atoms are in 3 moles of Mg3(PO4)2? 2) A substance, NxOy has the composition by mass 69.57% O. Calculate the molecular formula of this substance if its molecular mass is 92 grams.
Describe a skimming price and a penetration price : Jessica Alba, a famous actress, starts the baby and family products business, The Honest Company, with Christopher Gavigan. Alba and Gavigan set up their site so that families could choose what kinds of non-toxic, all natural products they'd like ..
Compute the value of q and w delta e : Calculate the value of q, w, delta E , for the reversible isothermal expansion at 300k of 2.00 mol of a perfect gas
Explain mass of a preservative and sodium benzoate : A brand of lunchmeat contains 0.11% by mass of a preservative, sodium benzoate, C6H5COONa. Health Canada recommends a an upper level intake of Na to be 2300 mg

Reviews

Write a Review

Programming Languages Questions & Answers

  Pseudocode that will generate reports from data files

Develop a mock-up of each of these reports, and get customer approval of these mock-ups. Write pseudo code that will generate these reports from the data files, using a CASE tool;

  Write function that takes array of positive integers

Write a function that takes an array of positive integers and the size of the array, and returns the average (type float) of the values.

  Create method to generate random integers

Create a method named posNeg which generates 1000 random integers. Range of numbers must be from -5 to +5 inclusive.

  Write program to open the text file-reads its contents

Write down a program which opens the text file and reads its contents into the stack of characters. Program must then pop characters from stack and save them in second text file.

  Program read weight of package of breakfast cereal in ounces

Write a program which will read the weight of package of a breakfast cereal in ounces and output weight in metric tons as well as number of boxes

  Program accept word from user and pass it to function

Your program should accept the word from user and pass it to function. Function requires to check if word is "freezing". If it is, program must alert user.

  Create an xml document that marks up nutrition facts

Create an XML document that marks up the nutrition facts for a package of Grandma White's cookies. A package of cookies has a serving size of 1 package.

  Design interactive program using prewritten methods

Design an interactive program that does the following, using the prewritten methods whenever they are appropriate. Prompt the user for and read a library card number, which must be between 1000 and 9999.

  Write looping structure pseudocode accepting employee data

Write looping structure pseudocode which prompts user for employee data; application continues to accept data for new employees until user enters 0 for ID number to indicate desire to quit.

  Create application consisted of three classes

Create an application comprised of three classes. The first class called Crayon represents one crayon of a particular color and length (height).

  Define class that contains member variable of type string

Define a class named Document that contains a member variable of type String named text that stores any textual content for the document.

  Benefits of validating the forms

When you are collecting data, you need to consider what data to collect, why you are collecting the data. What are other benefits of validating your forms? How are forms validated? What are some form validation best practices?

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