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
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..
|