Question: using Java (urgent) and also need a sample txt file This is not a normal way to do this. I need good examples and an

 using Java (urgent) and also need a sample txt file This

using Java (urgent) and also need a sample txt file

This is not a normal way to do this. I need good examples and an assignment. Methods to compute taxes in an imaginary world. Here is the wishful data $10,000 $10,000 1-single 5% $500+10% of amount over $10,000 2-married 6% | $600+11% of amount over $10,000 Read from a file named "tax.txt" the: User's status (2 for married, 1 for single) Year of birth (of oldest spouse if married) .Current year (ignoring month and day) Annual income You must test all cases. Use at least one example for each case. That makes a minimum of 8 examples. Submit trace and handcheck. If the person is married, call method married) to compute and return the tax. Otherwise call method single). If the age is over 60, there is a reduction of 10% of the tax. This must be done in each of the above methods. However, they must first call a method (within the single and within the married method] that determines if the user will be at least 60 years old on the last day of the current year and returns true or false Print the status "married" or "single"), the income, the tax and a message. If the tax is les than $2000, the message is "Boo". Otherwise it is "Yay

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!