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

  Make application that changes the color of the frame

build a frame with four buttons: one for red, one for green, one for blue, and one for gray. Clicking on a button changes the frame to the corresponding color.

  Give the two main type of learning paradigms

explain the two main type of learning paradigms in machine learning - supervised and unsupervised learning.

  Define beneficial for certain types of projects

There is a school of thought that argues that, far from being undesirable, some degree of scope creep may in fact be beneficial for certain kinds of projects e.g. it encourages stakeholder engagement, indicates responsiveness, and shows that objec..

  Find out coding of binary information and error detection

find out Coding of Binary Information and Error Detection.

  Explain the difference between object-oriented programming

define the difference between object-oriented programming and procedural (or structural or processual) programming. What, if anything, does the OO model bring to the table and improve upon what was out there pre-OO.

  How to write a class named dayofyear that gets an integer

How to write a class named DayOfYear that gets an integer Day 2 would be January 2 Day 32 would be February 1 Day 365 would be December 31

  Predicate color and action paint using situation calculus

Predicate color and action paint using situation calculus

  Use the queue to reverse the elements of the stack

Write down a function template, reverseStack, that takes a parameter a stack object and a queue object whose elements are of the same type. The function reverseStack uses the queue to reverse the elements of the stack.

  Aspect of software engineering

Select a topic related to some aspect of the Software Engineering. Write about 2500+ word (minimum) paper on that particular topic-single spaced 12 pt times or times new roman font.

  Express the top five categories of problems

Compare the two different systems and present the findings in tabular format.

  How the "right" database design can rarely be decided

The "right" database design can rarely be decided on the basis of normalization principle alone. Do you agree or disagree? explain.

  Regarding the national defence authorization act

Cyber security Act of 2012, National Defence Authorization Act (NDAA), and Library Services and Technology Act are the three recent laws dealing with computer crimes.

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