Display the total tax due to the user

Assignment Help Computer Engineering
Reference no: EM132200819

Write a java program that computes the income tax for an individual.

The program should ask the user to enter the total taxable income of the year.

The program then uses the tax bracket (as shown below) to calculate the tax amount: 10% on taxable income from $0 to $9,325, plus 15% on taxable income over $9,325 to $37,950, plus 25% on taxable income over $37,950 to $91,900, plus 28% on taxable income over $91,900 to $191,650, plus 33% on taxable income over $191,650 to $416,700, plus 35% on taxable income over $416,700 to $418,400, plus 39.60% on taxable income over $418,400 *

The program should display the total tax due to the user. *The program should show an error message if the user enters a negative number.

Reference no: EM132200819

Questions Cloud

Draw a market area diagram showing the market area : In one hour, people can make one horseshoe or one bushel of vegetables. There is a blacksmith forge where a worker can make five horseshoes or one bushel.
What are your expectations for the quantity of coal : Researchers at Penn State have developed the means to produce high quality liquid fuels from coal, and are working on scaling up the process to produce.
What is the economic rationale for a statute of limitations : What is the economic rationale for a statute of limitations for tort suits? Based on this rationale, explain why it makes sense that there is no statute.
Calculate the marginal products : Calculate the marginal products MPL and MPK. Calculate M RTSL,K and determine if this is diminishing as good L increases.
Display the total tax due to the user : Write a java program that computes the income tax for an individual. Display the total tax due to the user.
How should output be allocated between the two factories : A firm has two factories to produce widgets. Each factory has production function f(ki, li) = (ki*li)1/2 , i= 1, 2. The factories differ, however.
Explain using the definition of an onto function : 1. Suppose f:Z? Z, with defined by f(x) = 3x2 + 3. Note that both the domain and the target are equal to Z, the set of all integers.
Create an object sending the array to the constructor : Write a JAVA program that asks the user to store 10 numbers in an array. You should then print the array in the order entered and then print in reverse order.
Find interest rate of present worth of the two payment plans : For winners of the California SuperLotto Plus, the choice is between a lump sum and annual payments that increase from 2.5% for the first year to 2.7%.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Listing the key points of the policies & procedures.

Find out some significant policies and procedures that system administrators use to set up desktop workstations

  Compute the number of internal pages

Compute the number of internal pages, at each level, that we "need" (i.e., assume that you can fill the parents to capacity (to the maximum even number of keys)

  What were the risks and impact if the implementation failed

What is the problem driving the implementation? What is ‘going wrong' or what ‘problem' was expected to be addressed? What were the risks and impact.

  How is dynamic security assessment software used

How is dynamic security assessment (DSA) software used in actual power system operations - what techniques are used to decrease the time required to solve the DSA problem?

  What is the probability that she also likes jelly

Suppose that 80% of people like peanut butter, 89% like jelly, and 78% like both. What is the probability that she also likes jelly?

  Gantt chart-project log

Morris Wildlife Services deals with the humane removal of wildlife from places it does not belong (such as removing bats from attics and trapping coyotes for release in more suitable habitat).

  Create a simple text file containing the letter template

Create a simple text file containing the letter template which contains NAME wherever you want the person's name to appear in the letter.

  Describe and compare types of usability testing

State the considerations of selecting and handling participants for a usability experiment. Describe and compare types of usability testing.

  Visual logic

Consider that you are working with “Visual Logic”. Develop the logic for a program which enables a user to enter the 10 numbers, and then display them in reverse order of their entry.

  The cio asks you to describe why you believe it is

you are the information security officer at a medium-sized company 1500 employees. the cio asks you to explain why you

  List the main feature of the sha cryptographic hash function

List the main features of the SHA-512 cryptographic hash function. What kind of compression function is used in SHA-512?

  Prepare an 8-10-page report in word this report should

prepare an 8-10-page report in word. this report should include a project history of your recent trillo apparel

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