Create a solution in java file

Assignment Help Software Engineering
Reference no: EM1379952

Question: Assume you have been asked through a tax return preparer to create a program which will help him calculate taxes. This preparer will at most have one hundred customers. 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: EM1379952

Questions Cloud

Create a computer program : Create a class named Consumer Record that holds a consumer number, name, and address. Include technique to set the values for each data field and output the values for each data field.
Progressive home health care inc is a for-profit provider : Progressive Home Health Care Inc is a for-profit provider of home health care services in the Pacific Northwest. At present it has EBIT of $2 million per year no debt as well as a market value of approximately $12 million
Enlightenment the new rationalism and the scientific : Enlightenment the New Rationalism and the Scientific Revolution, how did advancements in science as well as reasoning change the lives of people at this time
Explain what business tools do you recommend : Explain what business tools do you recommend for your personal computer to keep it secure when using the Internet? What is the poorest that could happen to your computer without these business tools
Create a solution in java file : Assume you have been asked through a tax return preparer to create a program which will help him calculate taxes. This preparer will at most have one hundred customers.
What do we want to know about the restaurant you plan to run : What do we want to know about the restaurant you plan to run, Please identify why you want that information and where you will get it. Remember to consider your SWOT analysis
What do people in riley county spend per week on dining out : If you were requested to develop one restaurant of marketing strategy of Manhattan, KS you just need to come up with about five information needs (Example What do people in Riley County spend per week on dining out?
What is the theoretical capacity of every resource pool : What is the theoretical capacity of every resource pool? If the throughput of the process is three flow units an hour what is the capacity use of each resource pool?
The benefits of moving many information quickly : The benefits of moving many information quickly around an organization as well as between individuals are real. But, people can too frequently hide behind their computers and send messages electronically that they might otherwise censor or re-thin..

Reviews

Write a Review

Software Engineering Questions & Answers

  Highlights of project development activities

Assume you have just been asked to take over an existing assignment and asked to make a few changes for new features.

  Write business rules that are reflected in erd

Write the business rules that are reflected in the ERD.(Note that the ERD reflects some simplifying assumptions. For example,each book is written by only one author.

  Functional specifications for the software

When looking at a need for a change or improvement in a current system, what are two of the most important processes to examine and explain your answer.

  Introduction to the theory of computation

The language define through the equality of two 2DIM-DFA machines on all inputs is un-decidable. The full definition of 2DIM-DFA can be discovered in Sipser's Introduction to the Theory of Computation.

  Create logic for program that will produce count of readers

Create the logic for a program that would produce a count of readers by income groups as follows: under $20,000, $20,000- $29,999, $30,000-$49,999, $50,000-$69,999, and $70,000 and up.

  Draw uml diagram for classes quiz and question

Consider a quiz grading system that grades student responses to quizzes. Draw a UML diagram for classes Quiz, Question, EssayQuestion, MultipleChoiceQuestion, Student, and Submission.

  Modularity can have negative as well as positive effect

Modularity can have a negative as well as a positive effect. A program that is overmodularized performs its operations in very small modules, so a reader has trouble acquiring an overall perspective

  Investigate and analyse the effect of applying cmmi practice

ITECH3501- 6501 Principles of Software Engineering:  Investigate and analyse the effect of applying CMMI practices/processes in an Agile environment in terms of business performance improvement and the limitations/restrictions of using both, and writ..

  Designing a database

Assume if your organization was going to design a database and the developers told you they were going to use a flat file database instead of a relational or object oriented one, what would you say to them?

  Question about vector or bitmap

When your customer hands you a job, how would you make the determination which type of graphic is the right selection, Vector or Bitmap, in your response,

  Explanations on fixing c++ code errors

This technique takes an array of ints as a parameter and returns an array of Booleans. For each element in the parameter array whose value is 0,

  What information-gathering methods are most appropriate

what information-gathering methods are most appropriate to learn about requirements from reliable's own management staff and other employees? from client health-care organizations? from suppliers?

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