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

  Who is a desencendant of the queenmother

CS-205 Declarative Programming Assignment. Translate the following questions into Prolog queries and try them out: Who is the mother of Beatrice? Who has a child (one or more)? Who is a desencendant of the Queenmother

  Write an application that will let you keep a tally

Write an application that will let you keep a tally of how well three salesmen are performing selling five different products.

  Convert decimal number to an octal number

How do we prevent binary numbers 10 and 11 from being confused as decimal numbers?

  Threats against network services

Users are familiar with some network services like HTTP (Hypertext Transport Protocol) - the Web; and SMTP (Simple Mail Transport Protocol) and POP (Post Office Protocol) - e-mail and instant messaging.

  Define the advantages of the following types

define the advantages of the following types.

  This assignment is due for online students by midnight on

this assignment is due for online students by midnight on sunday of week 7 and for on-ground students before week 8s

  How many bytes of memory is this

Suppose you discover that RAM addresses 000C0000 to 000C7FFF are reserved for a PC's video adapter. How many bytes of memory is this?

  What is a cpu and what are its primary components

What shortcomings of electrical computation will optical computing devices address? What is a CPU? What are its primary components? What are registers?

  Write c++ program that stops read a line of text

determine what characters , if any, are not displayed by program you ceated for exercise (a)

  Perform non-maximal suppression along the gradient direction

Write a functionin opencv,my_non_maximal_suppression(magnitude, orientation, tl), to perform non-maximal suppression along the gradient direction.

  Questiona house has a house number and an x y location

questiona house has a house number and an x y location where x and y are numbers between - 10 and 10. the key member

  Convert the character in r0 from upper-case to lower-case

Convert the character in R0 from upper-case to lower-case by operating on it, NOT replacing it. The lower-case converted character should stay in R0.

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