Find out and display the total owed for all taxpayers

Assignment Help Computer Engineering
Reference no: EM1334821

You have been asked by a tax return preparer to create a program which will help him calculate taxes. This preparer will at most have 100 clients. For each client, he has to keep track of the client's first name, last name, gross income, and number of children. Use parallel arrays to store this information for him.

A taxpayer's federal tax due is calculated as follow. First, the taxpayer gets a dependency exemption deduction of $2,000 for each child. So, if a taxpayer has two children, he or she will get a dependency exemption deduction of $4,000. A taxpayer gross income is reduced by the amount of the dependency exemption deduction to determine his taxable income.

The amount of tax due is a percentage of taxable income. If taxable income is greater than or equal to $100,000, the tax due is 30% of taxable income. If taxable income is greater than or equal to $50,000, but less than $100,000, the tax due is 20% of taxable income. If taxable income is less than $50,000, tax due is 10% of taxable income. A taxpayer cannot have a negative tax due - if his taxable income is less than 0, his tax due Is 0.

Present the user with a menu of the following four choices
1. Add taxpayer info (This will allow the user to enter the info (first name, last name, gross income, number of children for ONE taxpayer )
2. View info for all taxpayers (This will allow the user to view info for all taxpayers: first and last name, gross income, number of children, tax due.)
3. Find and display the total owed for all taxpayers
4. Exit the program (If the user choices 4, the program will exit. If the user chooses 1, 2 or 3, the program will do what the menu item says it will do, and then the menu will appear again.
Use methods appropriately. Please document your code.

- Design Documents: an IPO (Hierarchy Chart) and either a detailed flowchart or pseudo code.
- Create a Solution in a .java file

Reference no: EM1334821

Questions Cloud

About non-compete agreements : What is non-compete agreements?
Implement and maintaining the plan : Prepare a paper designing elements of an employee relations program from an organization of your choice. Identify policy implications, the goals of the program, how these goals support corporate goals, and the cost and benefits of implementing and..
Elucidate why do you think us investors in mexico : Elucidate why do you think U.S. investors do not try to capitalize on the high interest rates in Mexico.
Explaining the community policing : Need information on the evolution of community policing and how it may assist in crime detection.
Find out and display the total owed for all taxpayers : A taxpayer's federal tax due is calculated as follow. First, the taxpayer gets a dependency exemption deduction of $2,000 for each child. So, if a taxpayer has two children, he or she would get a dependency exemption deduction of $4,000. A taxpaye..
Identify the primary activities to create value for customer : Identify the primary activities to create value for customers
Explain how much is the market paying per share : Explain how much is the market paying per share for growth opportunities. Exzplain what is your expected one-year holding period return on HP stock.
What is constrained resource : Product A has a unit contribution margin of $16 and takes two machine hours to make and Product B has a unit contribution margin of $30 and takes three machine hours to make.
Identifying important requirements to make decision : Identify the most important requirements for Grace to make her decision.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Feasibility analysis

What is meant by the feasibility analysis? Explain how that experience relates to one or more of feasibility tests for technical, operational, schedule, or economic feasibility.

  What is the meaning of operator precedence

Depending on operator precedence, what values might be associated with the expression 6 + 2 * 3.

  Define the way for creating work breakdown structure

Define the way for creating work breakdown structure Use a hypothetical project to illustrate your understanding of the WBS.

  Process used to detect and correct transmission errors

process used to detect and correct transmission errors.

  How dedicated technician to maintain your wan interfaces

When there is a network outage, how do companies find out the network boundary.

  Why the analysis step often breaks down

It is said that communications in the analysis step often breaks down? Could you comment on this? Have you experienced this phenomenon? If not, will you accept this statement, and why.

  Give an example of a useful class

Visual Basic.NET allows you to make your own classes. Provide an example of a useful class you could create. What methods and properties would you include? Show an example of a method declaration for your class.

  Write down an object oriented program in java

take a rectangular matrix of cells, each of which can contain an organism. If the matrix is viewed as extending indefinitely in both directions, then each cell has eight neighbors, the eight cells surrounding it.

  Make an idef1x e-r diagram

The scenario is that the Public Affairs Office at Highline University receives requests for speakers on particular topics. To be capable to respond to such request, that office wants to build a database.

  Which applications running in data centers are candidates

What questions wil lbe useful to investigate when deciding which applications running in data centers are candidates for migration to the cloud environment.

  Identifying the information security problem

In relation to the project management tools, discuss and give two examples or scenarios in order to demonstrate how the work breakdown structure could recognize and plan an information security problem or issue in the organisation.

  Calculate the access time when there is a cache miss

calculate the access time when there is a cache miss? Assume that the cache waits until the line has been fetched from main memory and then re-executes for a hit.

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