Program to allow the user to complete the 1040ez form

Assignment Help JAVA Programming
Reference no: EM131588903

You helped me on a previous Java assignment. Was hoping for another assist on the following problem:

The 1040EZ is an IRS form for individuals to complete their income taxes. It is easy to complete, hence the "EZ" in the name. In addition to personal information, there are only 14 lines on the 1040EZ. The lines are shown in the Appendix A.

For your final assignment, you will create a program to allow the user to complete the 1040EZ form. You will notice that some lines on the form require the user to enter information. See lines 1, 2, 3, 7, 8, and 11. Other lines are calculations, which your program needs to perform for the user. See lines 4, 5, 6, 9, 10, 12, 13, and 14.

To complete a program for the 1040EZ you would need to know conditions, but we have not covered them in this course. Conditions will be covered in the next course. So, to make this project easier we will make a few changes to the form. Here are the changes.

Line 5 will always be $10,150.
On Line 10 it states to look up the amount on a tax table. For this project, Line 10 will be computed as the value of Line 6 multiplied by 0.15.
Line 13 is completed if the user gets a refund and Line 14 is completed if the user owes money. Let's remove Line 14 and say that if the value in Line 13 is negative, the user owes money.
All of the values (entered by the user and computed) must be stored in an array.
Below is some sample output. Review it carefully. When you see a ">>" it means that what is to the right of it was entered by the user. Notice that the user does not enter computed values: The program computes them and displays the results.
Sample Output 1
Welcome to the 1040EZ Tax Form Application
1 Wages, salaries, and tips. This should be shown in box 1 of your Form(s) W-2. Attach your Form(s) W-2.
>> 100050.00
2 Taxable interest.
>> 510.15
3 Unemployment compensation and Alaska Permanent Fund dividends.
>> 0.00
4 Add lines 1, 2, and 3. This is your adjusted gross income. $100,560.15
5 If no one can claim you (or your spouse if a joint return), enter $10,150 if single; $20,300 if married filing jointly. See back for explanation. 10,150
6 Subtract line 5 from line 4. If line 5 is larger than line 4, enter -0-. This is your taxable income. $90,410.15
7 Federal income tax withheld from Form(s) W-2 and 1040.
>> 7,876.25
8 Earned income credit (EIC)
>> 0.00
9 Add lines 7 and 8. These are your total payments and credits. $7,876.25
10 Tax. Multiply Line 6 by 0.15. $13,561.52
11 Health care: individual responsibility
>> 0.00
12 Add lines 10 and 11. This is your total tax. $13,561.52
13Subtract line 12 from line 9. If result is positive, it is your refund. If result is negative, it is the amount you owe. $-5,685.27

Appendix A.

Line #

Line

1

Wages, salaries, and tips. This should be shown in box 1 of your Form(s) W-2.
Attach your Form(s) W-2.

2

Taxable interest.

3

Unemployment compensation and Alaska Permanent Fund dividends.

4

Add lines 1, 2, and 3. This is your adjusted gross income.

5

If no one can claim you (or your spouse if a joint return), enter $10,150 if single; $20,300 if married filing jointly. See back for explanation.

6

Subtract line 5 from line 4.

7

Federal income tax withheld from Form(s) W-2 and 1040.

8

Earned income credit (EIC)

9

Add lines 7 and 8. These are your total payments and credits.

10

Tax. Multiply Line 6 by 0.15.

11

Health care: individual responsibility

12

Add lines 10 and 11. This is your total tax.

13

If line 9 is larger than line 12, subtract line 12 from line 9. This is your refund.

Reference no: EM131588903

Questions Cloud

Define the alternatives to bail : This assignment addresses pretrial procedures that occur prior to the trial but not the trial itself.
Define the standard of living and real gdp per person : Explain how our standard of living depends upon our level of real GDP per person, but there might not be a one-to-one relationship
Define the elements of a legal contract : Jim and Laura Buyer visit the local car dealership because they are interested in buying a new car. The car they currently have is aging and is starting.
How the organization should position its offerings : Briefly describe a health care provider with which you are familiar and how that organization should position its offerings.
Program to allow the user to complete the 1040ez form : Create a program to allow the user to complete the 1040EZ form. You will notice that some lines on the form require the user to enter information
Discussion on the state of the macro-economy : Recently there has been discussion in the news about taxing junk food, in an effort to reduce the incidence of obesity in the U.S.
Describe the ideologies of two different political systems : Describe the ideologies of two different political systems. Select two different countries of your choice for a comparison.
Discuss the effects of enculturation : When looking for information about a particular issue, how often do you try to resist biases toward your own point of view?
What is the competitive advantage of the brand : What is competitive advantage of brand? How is it different from other competing brands? Does brand have any attributes or benefits that dominate competitors?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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