Question: Write a program to read the following data using Scanner class Read someone's name, His income, number of dependents, federal and state tax rate. $4000.00

 Write a program to read the following data using Scanner class

Write a program to read the following data using Scanner class Read someone's name, His income, number of dependents, federal and state tax rate. $4000.00 exemption amount is constant for all taxpayers. Calculate federal and state tax amount after you remove exemptions' amount from gross income, then figure out total deduction and net income for this person. Input: Joe Dependents 4 Income: 150000.00 Fed tax rate 0.12 State tax rate 0.08 Your display should show as follows Name gross income dependents fed tax state tax total Deduction Joe $150,000.00 4 $16,080.00 $10,720.00 $26,800.00 Net income $123,200.00 this is part of the lin

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!