Question
Your objective is to write a simple java program that determines your tax liability for the year. Your program must perform the following for one
Your objective is to write a simple java program that determines your tax liability for the year. Your program must perform the following for one or more customers
: 1. Read the users first name and last name
2. Read 4 digit ID number. Use a loop to ensure customer has entered the correct ID number
3. Read the number of family members including you
4. Read the total income for the year
5. Calculate the taxable income
6. Determine the tax rate based on the criteria below
7. Calculate federal income tax
8. Output the input, given, and calculated values formatted as shown below Taxable income = (Income -3200 1000*number of family members) Tax rate for taxable income less than $15000 is 5%, for taxable income between $15000 and $50000 tax rate is 15%, and for all other income the tax rate is 25% Tax = taxable income * tax rate
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started