Tax Accountant Project


Another project assigned during the Programming II course using Java was the Tax Accountant Project. We were given a description of how the tax brackets functioned as well as how the project was intended to output the end results. The program takes in information about taxpayers' income, deductions, and the state and federal taxes witheld. It then calculates each taxpayer's state and federal refunds. Check out the output below.

Example Output


Please input your Customer ID. 101
Please input your total income. 15000
Please input your deductions. 1000
Please input your Federal taxes witheld. 500
Please input your State taxes witheld. 50
Please input your Customer ID; -1 to exit. 102
Please input your total income. 30000
Please input your deductions. 2000
Please input your Federal taxes witheld. 1700
Please input your State taxes witheld. 0
Please input your Customer ID; -1 to exit. 103
Please input your total income. 52500
Please input your deductions. 3756
Please input your Federal taxes witheld. 0
Please input your State taxes witheld. 100
Please input your Customer ID; -1 to exit. -1

Customer                        Taxable   Federal   State     Federal   State     Federal   State
ID        Income    Deductions  Income    Tax       Tax       W/H       W/H       Refund    Refund
========  ========  ==========  ========  ========  ========  ========  ========  ========  ========
  101    $15000.00   $ 1000.00 $14000.00 $  600.00 $   42.00 $  500.00 $   50.00 $ -100.00 $    8.00
  102    $30000.00   $ 2000.00 $28000.00 $ 3700.00 $  259.00 $ 1700.00 $    0.00 $-2000.00 $ -259.00
  103    $52500.00   $ 3756.00 $48744.00 $11823.20 $  827.62 $    0.00 $  100.00 $-11823.20 $ -727.62